aboutsummaryrefslogtreecommitdiff
path: root/tests/epub
diff options
context:
space:
mode:
authorDaniel Bergey <bergey@alum.mit.edu>2014-12-01 18:18:34 +0000
committerDaniel Bergey <bergey@alum.mit.edu>2014-12-01 18:22:03 +0000
commit74c1b547c247bbe2adab0fc6857cd78eaef918c3 (patch)
tree673f548e203baea598906b4fda02736152eb7caf /tests/epub
parent2cdfa5eb207ca07d96235eb018928812f21da593 (diff)
downloadpandoc-74c1b547c247bbe2adab0fc6857cd78eaef918c3.tar.gz
parse RST class directives
The class directive accepts one or more class names, and creates a Div value with those classes. If the directive has an indented body, the body is parsed as the children of the Div. If not, the first block folowing the directive is made a child of the Div. This differs from the behavior of rst2xml, which does not create a Div element. Instead, the specified classes are applied to each child of the directive. However, most Pandoc Block constructors to not take an Attr argument, so we can't duplicate this behavior.
Diffstat (limited to 'tests/epub')
0 files changed, 0 insertions, 0 deletions