Summary of YAM syntax.
Title | First paragraph of the file. |
Single-line comment / notes | %% ... |
Multi-line comment / notes | %/* ... %*/ |
Headings | %1,%2,etc.; %1* is unnumbered |
Bold, italic, teletype, underlined | *...*, _..._, =...=, __...__ |
Contents | %contents |
Horizontal lines | --- |
Tables | %[ | row 1 c 1 | r 1 c 2 | --- | r 2 c 1 | r 2 c 2 | %] |
Block quotation | %"...%" |
Line break | %br |
Verbatim | %<...%> |
Lists | - item 1 |
Footnote | %footnote(...) |
Escaping | \ |
Links |
http://thing.com/ or %(http://thing.com/) or |
Anchors | %#anchor |
Images | %image(file) or |
Citations | %cite(citekey,citekey,...) |
Inclusion | %include(file.yam) |
Non-breaking space | %\ followed by space |
Special characters | (e.g. < or & in HTML) are |