Movatterモバイル変換


[0]ホーム

URL:


Hackage :: [Package]

pandoc:Conversion between markup formats

[gpl,library,text ] [Propose Tags ] [Report a vulnerability ]

Pandoc is a Haskell library for converting from one markupformat to another, and a command-line tool that usesthis library. It can read several dialects of Markdown and(subsets of) HTML, reStructuredText, LaTeX, DocBook,MediaWiki markup, TWiki markup, TikiWiki markup, Creole 1.0,Haddock markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags,Vimwiki, Word Docx, ODT, and Textile, and it can writeMarkdown, reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt,DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx,RTF, MediaWiki, DokuWiki, ZimWiki, Textile, groff man,groff ms, plain text, Emacs Org-Mode, AsciiDoc,Haddock markup, EPUB (v2 and v3), FictionBook2, InDesignICML, Muse, and several kinds of HTML/JavaScript slideshows (S5, Slidy, Slideous, DZSlides, reveal.js).

In contrast to most existing tools for converting Markdownto HTML, pandoc has a modular design: it consists of a set ofreaders, which parse text in a given format and produce anative representation of the document, and a set of writers,which convert this native representation into a targetformat. Thus, adding an input or output format requiresonly adding a reader or writer.


[Skip to Readme]

Modules

[Index]

Flags

Automatic Flags
NameDescriptionDefault
static

Use static linking for pandoc executable.

Disabled
embed_data_files

Embed data files in binary for relocatable executable.

Disabled
trypandoc

Build trypandoc cgi executable.

Disabled
weigh-pandoc

Build weigh-pandoc to measure memory usage.

Disabled
network-uri

Get Network.URI from the network-uri package

Enabled
old-locale

Use old-locale and time < 1.5

Disabled

Use-f <flag> to enable a flag, or-f -<flag> to disable that flag.More info

Downloads

Note: This package hasmetadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions[RSS]0.4,0.41,0.42,0.43,0.44,0.45,0.46,1.0,1.0.0.1,1.1,1.2,1.2.1,1.3,1.4,1.5,1.5.0.1,1.5.1,1.5.1.1,1.6,1.6.0.1,1.8,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1,3.1.1,3.1.2,3.1.3,3.1.4,3.1.5,3.1.6,3.1.6.1,3.1.6.2,3.1.7,3.1.8,3.1.9,3.1.10,3.1.11,3.1.11.1,3.1.12,3.1.12.1,3.1.12.2,3.1.12.3,3.1.13,3.2,3.2.1,3.3,3.4,3.5,3.6,3.6.1,3.6.2,3.6.3,3.6.4 (info)
Change logchangelog
Dependenciesaeson (>=0.7 && <1.3),aeson-pretty (>=0.8 && <0.9),base (>=4.7 && <5),base64-bytestring (>=0.1 && <1.1),binary (>=0.5 && <0.9),blaze-html (>=0.5 && <0.10),blaze-markup (>=0.5.1 && <0.9),bytestring (>=0.9 && <0.11),case-insensitive (>=1.2 && <1.3),cmark-gfm (>=0.1.1 && <0.2),containers (>=0.4.2.1 && <0.6),data-default (>=0.4 && <0.8),deepseq (>=1.3 && <1.5),directory (>=1 && <1.4),doctemplates (>=0.2.1 && <0.3),file-embed (>=0.0 && <0.1),filepath (>=1.1 && <1.5),Glob (>=0.7 && <0.10),haddock-library (>=1.1 && <1.5),hslua (>=0.9 && <0.10),HTTP (>=4000.0.5 && <4000.4),http-client (>=0.4.30 && <0.6),http-client-tls (>=0.2.4 && <0.4),http-types (>=0.8 && <0.10),JuicyPixels (>=3.1.6.1 && <3.3),mtl (>=2.2 && <2.3),network (>=2 && <2.9),network-uri (>=2.6 && <2.7),old-locale (>=1 && <1.1),pandoc,pandoc-types (>=1.17.2 && <1.17.4),parsec (>=3.1 && <3.2),process (>=1.2.3 && <1.7),random (>=1 && <1.2),safe (>=0.3 && <0.4),scientific (>=0.2 && <0.4),SHA (>=1.6 && <1.7),skylighting (>=0.4.2 && <0.5),split (>=0.2 && <0.3),syb (>=0.1 && <0.8),tagsoup (>=0.13.7 && <0.15),temporary (>=1.1 && <1.3),texmath (>=0.9.4.1 && <0.10),text (>=0.11 && <1.3),time (>=1.2 && <1.9),unix (>=2.4 && <2.8),unordered-containers (>=0.2 && <0.3),vector (>=0.10 && <0.13),wai (>=0.3),wai-extra,weigh (>=0.0 && <0.1),xml (>=1.3.12 && <1.4),yaml (>=0.8.8.2 && <0.9),zip-archive (>=0.2.3.4 && <0.4),zlib (>=0.5 && <0.7) [details]
Tested with ghc ==7.8.4, ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.1
LicenseLicenseRef-GPL
Copyright(c) 2006-2017 John MacFarlane
AuthorJohn MacFarlane <jgm@berkeley.edu>
MaintainerJohn MacFarlane <jgm@berkeley.edu>
RevisedRevision 2 made byHerbertValerioRiedel at2019-04-26T07:26:03Z
CategoryText
Home pagehttp://pandoc.org
Bug trackerhttps://github.com/jgm/pandoc/issues
Source repohead: git clonegit://github.com/jgm/pandoc.git
UploadedbyJohnMacFarlane at2017-10-31T05:55:42Z
DistributionsArch:3.1.12.1, Debian:2.9.2.1, Fedora:3.1.3, FreeBSD:1.15.0.6, LTSHaskell:3.6, NixOS:3.1.11.1, Stackage:3.6.4, openSUSE:3.6.4
Reverse Dependencies92 direct, 77 indirect [details]
Executablesweigh-pandoc, trypandoc, pandoc
Downloads361685 total (969 in the last 30 days)
Rating3.0 (votes: 24)[estimated byBayesian average]
Your Rating
  • λ
  • λ
  • λ
StatusDocs available[build log]
Last success reported on 2017-10-31[all 1 reports]

Readme for pandoc-2.0.0.1

[back to package description]

Pandoc

github releasehackage releasehomebrewstackage LTS packagetravis build statusappveyor build statuslicensepandoc-discuss on google groups

The universal markup converter

Pandoc is aHaskell library for converting from one markup format toanother, and a command-line tool that uses this library. It can readMarkdown,CommonMark,PHP Markdown Extra,GitHub-FlavoredMarkdown,MultiMarkdown, and (subsets of)Textile,reStructuredText,HTML,LaTeX,MediaWiki markup,TWiki markup,[TikiWiki markup],Creole 1.0,Haddock markup,OPML,Emacs Org mode,DocBook,Muse,txt2tags,Vimwiki,EPUB,ODT, andWord docx;and it can write plain text,Markdown,CommonMark,PHP MarkdownExtra,GitHub-Flavored Markdown,MultiMarkdown,reStructuredText,XHTML,HTML5,LaTeX (includingbeamer slide shows),ConTeXt,RTF,OPML,DocBook,OpenDocument,ODT,Word docx,GNU Texinfo,MediaWikimarkup,DokuWiki markup,ZimWiki markup,Haddock markup,EPUB (v2 or v3),FictionBook2,Textile,groff man,[groff ms],Emacs Org mode,AsciiDoc,InDesign ICML,TEISimple,Muse andSlidy,Slideous,DZSlides,reveal.jsorS5 HTML slide shows. It can also producePDF output onsystems where LaTeX, ConTeXt,pdfroff,wkhtmltopdf,prince, orweasyprint is installed.

Pandoc's enhanced version of Markdown includes syntax forfootnotes,tables, flexibleordered lists,definition lists,fenced codeblocks,superscripts and subscripts,strikeout,metadata blocks,automatic tables of contents, embedded LaTeXmath,citations, and[Markdown inside HTML block elements][Extension:markdown_in_html_blocks]. (These enhancements, described further underPandoc's Markdown, can be disabled using themarkdown_strict inputor output format.)

In contrast to most existing tools for converting Markdown to HTML, whichuse regex substitutions, pandoc has a modular design: it consists of aset of readers, which parse text in a given format and produce a nativerepresentation of the document, and a set of writers, which convertthis native representation into a target format. Thus, adding an inputor output format requires only adding a reader or writer.

Because pandoc's intermediate representation of a document is lessexpressive than many of the formats it converts between, one shouldnot expect perfect conversions between every format and every other.Pandoc attempts to preserve the structural elements of a document, butnot formatting details such as margin size. And some document elements,such as complex tables, may not fit into pandoc's simple documentmodel. While conversions from pandoc's Markdown to all formats aspireto be perfect, conversions from formats more expressive than pandoc'sMarkdown can be expected to be lossy.

Installing

Here'show to install pandoc.

Documentation

Pandoc's website contains a fullUser's Guide.It is also availablehere as pandoc-flavored Markdown.The website also contains someexamples of the use ofpandoc and a limitedonlinedemo.

Contributing

Pull requests, bug reports, and feature requests are welcome. Please makesure to readthe contributor guidelines before opening anew issue.

License

© 2006-2017 John MacFarlane (jgm@berkeley.edu). Released under theGPL, version 2 or greater. This software carries no warranty ofany kind. (See COPYRIGHT for full copyright and warranty notices.)

Produced byhackage andCabal 3.12.1.0.


[8]ページ先頭

©2009-2025 Movatter.jp