hsmarkdown
general markup converter
Install
- All systems
-
curl cmd.cat/hsmarkdown.sh
- Debian
-
apt-get install pandoc
- Ubuntu
-
apt-get install pandoc
- Arch Linux
-
pacman -S pandoc
- Kali Linux
-
apt-get install pandoc
- Fedora
-
dnf install pandoc
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install pandoc
- OS X
-
brew install pandoc
- Raspbian
-
apt-get install pandoc
- Dockerfile
- dockerfile.run/hsmarkdown
pandoc
general markup converter
Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. It can read several dialects of Markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS, MediaWiki markup, TWiki markup, TikiWiki markup, Creole 1.0, Haddock markup, OPML, Emacs Org-mode, Emacs Muse, txt2tags, Vimwiki, Word Docx, ODT, EPUB, FictionBook2, and Textile, and it can write Markdown, reStructuredText, XHTML, HTML 5, LaTeX (including rendering as plain PDF or beamer slide shows), ConTeXt, DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx, RTF, MediaWiki, DokuWiki, ZimWiki, Textile, groff man, groff ms, GNU Texinfo, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup, EPUB (v2 and v3), FictionBook2, InDesign ICML, Muse, LaTeX beamer slides, PowerPoint, and several kinds of HTML/javaScript slide shows (S5, Slidy, Slideous, DZSlides, reveal.js). In contrast to most existing tools for converting Markdown to HTML, pandoc has a modular design: it consists of a set of readers, which parse text in a given format and produce a native representation of the document, and a set of writers, which convert this native representation into a target format. Thus, adding an input or output format requires only adding a reader or writer. This package contains the pandoc tool. Some uses of Pandoc require additional packages: * SVG content in PDF output requires librsvg2-bin. * YAML metadata in TeX-related output requires texlive-latex-extra. * *.hs filters not set executable requires ghc. * *.js filters not set executable requires nodejs. * *.php filters not set executable requires php. * *.pl filters not set executable requires perl. * *.py filters not set executable requires python. * *.rb filters not set executable requires ruby. * *.r filters not set executable requires r-base-core. * LaTeX output, and PDF output via PDFLaTeX, require texlive-latex-recommended. * XeLaTeX output, and PDF output via XeLaTeX, require texlive-xetex. * LuaTeX output, and PDF output via LuaTeX, require texlive-luatex. * ConTeXt output, and PDF output via ConTeXt, require context. * PDF output via wkhtmltopdf requires wkhtmltopdf. * Groff man and groff ms output, and PDF output via groff ms, require groff. * MathJax-rendered equations require libjs-mathjax. * KaTeX-rendered equations require node-katex.