Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANUAL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ header when requesting a document from a URL:
- `rtf` ([Rich Text Format])
- `texinfo` ([GNU Texinfo])
- `textile` ([Textile])
- `t2t` ([txt2tags])
- `slideous` ([Slideous] HTML and JavaScript slide show)
- `slidy` ([Slidy] HTML and JavaScript slide show)
- `dzslides` ([DZSlides] HTML5 + JavaScript slide show)
Expand Down
19 changes: 19 additions & 0 deletions data/templates/default.t2t
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
$pagetitle$
$author-meta$
$date-meta$



$for(include-before)$
$include-before$

$endfor$
$if(toc)$
__TOC__

$endif$
$body$
$for(include-after)$

$include-after$
$endfor$
5 changes: 5 additions & 0 deletions pandoc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ data-files:
data/templates/default.asciidoc
data/templates/default.haddock
data/templates/default.textile
data/templates/default.t2t
data/templates/default.org
data/templates/default.epub2
data/templates/default.epub3
Expand Down Expand Up @@ -348,6 +349,7 @@ extra-source-files:
test/tables.typst
test/tables.rst
test/tables.rtf
test/tables.t2t
test/tables.txt
test/tables.fb2
test/tables.muse
Expand Down Expand Up @@ -391,6 +393,7 @@ extra-source-files:
test/writer.rst
test/writer.icml
test/writer.rtf
test/writer.t2t
test/writer.tei
test/writer.texinfo
test/writer.fb2
Expand Down Expand Up @@ -672,6 +675,7 @@ library
Text.Pandoc.Writers.Org,
Text.Pandoc.Writers.AsciiDoc,
Text.Pandoc.Writers.Textile,
Text.Pandoc.Writers.Txt2Tags,
Text.Pandoc.Writers.MediaWiki,
Text.Pandoc.Writers.DokuWiki,
Text.Pandoc.Writers.XWiki,
Expand Down Expand Up @@ -919,6 +923,7 @@ test-suite test-pandoc
Tests.Writers.Ms
Tests.Writers.AnnotatedTable
Tests.Writers.BBCode
Tests.Writers.Txt2Tags

benchmark benchmark-pandoc
import: common-executable
Expand Down
3 changes: 3 additions & 0 deletions src/Text/Pandoc/Writers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ module Text.Pandoc.Writers
, writeTEI
, writeTexinfo
, writeTextile
, writeTxt2Tags
, writeTypst
, writeXML
, writeXWiki
Expand Down Expand Up @@ -135,6 +136,7 @@ import Text.Pandoc.Writers.RTF
import Text.Pandoc.Writers.TEI
import Text.Pandoc.Writers.Texinfo
import Text.Pandoc.Writers.Textile
import Text.Pandoc.Writers.Txt2Tags
import Text.Pandoc.Writers.Typst
import Text.Pandoc.Writers.XML
import Text.Pandoc.Writers.XWiki
Expand Down Expand Up @@ -202,6 +204,7 @@ writers = [
,("xwiki" , TextWriter writeXWiki)
,("zimwiki" , TextWriter writeZimWiki)
,("textile" , TextWriter writeTextile)
,("t2t" , TextWriter writeTxt2Tags)
,("typst" , TextWriter writeTypst)
,("rtf" , TextWriter writeRTF)
,("org" , TextWriter writeOrg)
Expand Down
Loading
Loading