Skip to content

Commit

Permalink
Exports: Added ICML.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed May 12, 2014
1 parent e005ea9 commit 4927241
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Network/Gitit/Export.hs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ respondOrg :: String -> Pandoc -> Handler
respondOrg = respondS "org" "text/plain; charset=utf-8" ""
writeOrg defaultRespOptions

respondICML :: String -> Pandoc -> Handler
respondICML = respondS "icml" "application/xml; charset=utf-8" ""
writeICML defaultRespOptions

respondTextile :: String -> Pandoc -> Handler
respondTextile = respondS "textile" "text/plain; charset=utf-8" ""
writeTextile defaultRespOptions
Expand Down Expand Up @@ -311,6 +315,7 @@ exportFormats cfg = if pdfExport cfg
, ("Plain text",respondPlain)
, ("MediaWiki", respondMediaWiki)
, ("Org-mode", respondOrg)
, ("ICML", respondICML)
, ("Textile", respondTextile)
, ("AsciiDoc", respondAsciiDoc)
, ("Man page", respondMan)
Expand Down

0 comments on commit 4927241

Please sign in to comment.