Project logo

npm release Travis Coverage Status Dependency Status Codebeat badge Docs Status Join the chat

Extends gitbook build system with pandoc converter.

Patreon User Twitter User


GPB (gitbook-plugin-build) extends gitbook build system with pandoc converter. Pandoc is your swiss-army knife when it comes to coverting files. GPB use pandoc build system to convert and compile your book in variety of formats:

  • TeX formats: LaTeX, ConTeXt, LaTeX Beamer slides
  • HTML formats: XHTML, HTML5, and HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlides.
  • Word processor formats: Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML
  • Ebooks: EPUB version 2 or 3, FictionBook2
  • Documentation formats: DocBook, TEI Simple, GNU TexInfo, Groff man pages, Haddock markup
  • Page layout formats: InDesign ICML
  • Outline formats: OPML
  • PDF via LaTeX
  • Lightweight markup formats: Markdown (including CommonMark), reStructuredText, AsciiDoc, MediaWiki markup, DokuWiki markup, Emacs Org-Mode, Textile

Writing books with this plugin will be peace of cake. And here cake is not a lie!


For more informations please visit projects official homepage.


Copyright © 2016 Uroš Jarc

MIT License


Setting Description Type Allowed values
args Arguments passed to pandoc when compiling gitbook. Array
default =
bin Path to pandoc binaries. String
default = pandoc
format Output informations. String
default = latex
opts Options passed to pandoc when compiling gitbook. Object
default = [object Object]
output Output informations. String
default = _book/main.tex
template Optional template file. String
default = _layouts/main.tex


Extends gitbook build system with pandoc converter.

Latest: 0.1.2

0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.1.0, 0.1.1, 0.1.2,


0.1.2 >1.x.x


Open on NPM