DocumenterEpub.EPUBType
EPUB(;[color=false, lang="en"])

EPUB format Writer.

  • color specifies whether or not the code highlighting will be grayscale

or in color.

  • lang sets the language in the EPUB.
  • snap_animations if true replaces the animations with the first frame of it. (currently only works on .gif files)
DocumenterEpub.fixlinks!Method

Replaces URLs in Markdown.Link elements (if they point to a local .md page) with the actual URLs.

DocumenterEpub.get_urlMethod

Returns the full path corresponding to a path of a .md page file. The the input and output paths are assumed to be relative to src/.

DocumenterEpub.html_unescapeMethod
html_unescape

Internal function to reverse the escaping of some html code (in order to avoid double escaping when pre-rendering with highlight, see issue 326).

DocumenterEpub.mdconvertMethod

Convert a markdown object to a DOM.Node object.

The parent argument is passed to allow for context-dependant conversions.

DocumenterEpub.open_outputFunction

Opens the output file of the navnode in write node. If necessary, the path to the output file is created before opening the file.

DocumenterEpub.pagetitleMethod

Tries to guess the page title by looking at the <h1> headers and returns the header contents of the first <h1> on a page (or nothing if the algorithm was unable to find any <h1> headers).

DocumenterEpub.safeidMethod
safeid(page)

Sanitize page for use in the navigation files toc.xhtml and toc.ncx.