git.iko.soy/typeable/pandoc
on master help sign in
MANUAL: fix up custom-style documentation.
84a99afJesse Rosenthal
MANUAL.txt+3−8
@@ -3854,7 +3854,7 @@ style `Emphatically`. Similarly,
3854 | He did not know I saw---
3854 | He did not know I saw---
3855 </div>
3855 </div>
3856
3856
3857−Would style the two contained lines with the `Poetry` paragraph style.
3857+would style the two contained lines with the `Poetry` paragraph style.
3858
3858
3859If the styles are not yet in your reference.docx, they will be defined
3859If the styles are not yet in your reference.docx, they will be defined
3860in the output file as inheriting from normal text. If they are already
3860in the output file as inheriting from normal text. If they are already
@@ -3865,14 +3865,9 @@ This feature allows for greatest customization in conjunction with
3865indented, you can write a filter to apply the styles necessary. If you
3865indented, you can write a filter to apply the styles necessary. If you
3866want all italics to be transformed to the `Emphasis` character style
3866want all italics to be transformed to the `Emphasis` character style
3867(perhaps to change their color), you can write a filter which will
3867(perhaps to change their color), you can write a filter which will
3868−transform all italicized inlines
3868+transform all italicized inlines to inlines within an `Emphasis`
3869+custom-style `span`.
3869
3870
3870− Emph <inlines>
3871−
3872−to
3873−
3874− Span ("", [], [("custom-style", "Emphasis")] <inlines>
3875−
3876[pandoc filters]: http://pandoc.org/scripting.html
3871[pandoc filters]: http://pandoc.org/scripting.html
3877
3872
3878Custom writers
3873Custom writers