Lacking Natural Simplicity

Random musings on books, code, and tabletop games.

reStructuredText Custom Interpreted Text Roles

I really like how easy reStructuredText makes adding custom interpreted text roles 1 2. I do a fair bit for writing for the RPGs campaigns I run or play, and the custom roles are useful for mark specific things, like spell names or skill names.

1

http://docutils.sourceforge.net/docs/ref/rst/roles.html#customization

2

http://docutils.sourceforge.net/docs/ref/rst/directives.html#role

Print Friendly and PDF

Comments

Comments powered by Disqus