mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
c645e57dc8
`t2t` is now supported as an output format, producing Txt2Tags markup (<https://txt2tags.org>). The writer covers headers, lists (bullet, ordered, definition), tables, links, images, code blocks, inline formatting, and raw txt2tags/HTML passthrough. [API change] Adds a new module Text.Pandoc.Writers.Txt2Tags, exporting `writeTxt2Tags`. Also exported from Text.Pandoc.Writers. Co-authored-by: luginf <alan@luginf>
18 lines
183 B
Plaintext
18 lines
183 B
Plaintext
$title$
|
|
$for(author)$$author$$sep$; $endfor$
|
|
$date$
|
|
|
|
$for(include-before)$
|
|
$include-before$
|
|
|
|
$endfor$
|
|
$if(toc)$
|
|
__TOC__
|
|
|
|
$endif$
|
|
$body$
|
|
$for(include-after)$
|
|
|
|
$include-after$
|
|
$endfor$
|