runemadsen/asciidoc — Issue #2: Support block-level templating
Author: mojavelinux
Created: 2012-03-08 03:23:02+00:00
State: open

AsciiDoc supports formatting at the block-level. For instance, it wraps a heading and the paragraphs that follow it in a section wrapper when using the HTML exporter. This formatting is not currently possible with ruby-asciidoc.

Here are two examples of block-level templating from AsciiDoc:

```
[sect1]

{numbered?{sectnum} }{title}

|

```

```
[exampleblock]

{caption={example-caption} {counter:example-number}. }{title}

|

```