aboutsummaryrefslogtreecommitdiff
path: root/lib/fonts
diff options
context:
space:
mode:
authorDaniel Bergey <bergey@alum.mit.edu>2014-12-11 16:12:06 +0000
committerDaniel Bergey <bergey@alum.mit.edu>2014-12-12 14:45:45 +0000
commitdc3ea9840e301b5d18760050ec2dc50bdb4de509 (patch)
treead4232826ef326e6800acf7c40b2c65406d7805e /lib/fonts
parentdba066a33def2635567dc790f04387a06297e903 (diff)
downloadpandoc-dc3ea9840e301b5d18760050ec2dc50bdb4de509.tar.gz
RST reader: improve support for custom roles
- Add "sourceCode" to classes for :code: role, and anything inheriting from it. - Add the name of the custom role to classes if the Inline constructor supports Attr. - If the custom role directive does not specify a parent role, inherit from the :span: role. This differs somewhat from the rst2xml.py behavior. If a custom role inherits from another custom role, Pandoc will attach both roles' names as classes. rst2xml.py will only use the class of the directly invoked role (though in the case of inheriting from a :code: role with a :language: defined, it will also provide the inherited language as a class).
Diffstat (limited to 'lib/fonts')
0 files changed, 0 insertions, 0 deletions