Skip to content

Instantly share code, notes, and snippets.

@hamnis
Created November 18, 2011 15:00
Show Gist options
  • Save hamnis/1376678 to your computer and use it in GitHub Desktop.
Save hamnis/1376678 to your computer and use it in GitHub Desktop.
2. Pandoc Constructs
What do you need to type in Pandoc to get the correct output. Note
this is just basic Pandoc format, so you might be better off reading
the README from Pandoc itself [15].
2.1. section
Just use the normal sectioning commands available in Pandoc, I tend
to use
# Section1 One
Bla
Converts to xml2rfc: "<section title="Section1 One"
anchor="section1-one">" If you have another section that is also
named "Section1 One", that anchor will be called "section1-one-1".
Referencing the section is done with "See [](#section1-one)", see
Section 2.10.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment