Sha256: 5c099c3e8a22892c57f0e653ce2617752f1619c45f6385abf07725b4a241d68d

Contents?: true

Size: 655 Bytes

Versions: 2

Compression:

Stored size: 655 Bytes

Contents

[load #nokogiri]

[set main_content
    [div #[
        class | content
        id    | main-content
    ]

h1      | Shuwar sample
        |
p       | This is a sample of shuwar
p:span  | As you can see, it works
        |
p       | It's processed by the nokogiri library
        |
h2      | Just one note
        |
p       | If you think that shuwar is really weird, it is!
        |
h2      | Some weird thing you might notice
        |
h3      | Did you noticed that the attrs part of this div is weird?
        |
p       | It's looks like a hack, but it feels great!
p       | No joke!

    ]]

[put_html
    [html [body
        main_content
    ]]
]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shuwar-1.3.0 sample.swr
shuwar-1.2.0 sample.swr