This page will be updated with changes to Markugen upon each new release. The log was started at version 2.0.0 and will be continued for each new release moving forward.
This is a minor bug fix for the --pdf-only flag. In previous versions, this
flag would cause the output directory to be completely removed.
This version has some bug fixes related to assets and some new features.
--vars. The
flag takes a path to a JSON file with a JSON object where each key in the
object represents a variable in template expansion.--config.--input flag is no longer required when using the
CLI, it will default to the current working
directory.This is another bug fix release. The following bugs were fixed in this release:
This is a bug fix release. The primary bug fixed in this release deals with Markdown that is given as a string for input instead of a file. Release v2.0.0 outputs a file path in the HTML and causes some strange behavior in the output. This release fixes the bug and produces normal output.
Additionally, a unit test was added that ensures this behavior is tested in all future releases.
This is the first release of the Markugen 2.x series.
The increment of the major version is due to some changes to the main
function calls within theMarkugen class. the following is a list of the
major changes to the Markugen class:
Markugen.generateSync no longer exists.Markugen.generate exists and should be used in
most cases.--pdf option and has been renamed
to Markugen.mdtohtml.Markugen.htmltopdf method or the markugen pdf subcommand of the cliMarkugen constructor only takes options specific to Markugen and no
longer accepts the generate options. Instead, the options for generate
are provided with the call to Markugen.generate, Markugen.mdtohtml, and
Markugen.htmltopdf.Previous releases required all assets to be relative to the --input directory;
however, this release allows for --assets and --favicon to contain
absolute paths and are not required to be relative to the --input
directory. Paths to assets may contain directories and/or files. Paths that
are provided as absolute paths will be copied to the root of the --output
directory.
The Command Line Interface (CLI) has a new subcommand called htmltopdf or just
pdf. The subcommand allows for the Markugen CLI to be used for converting
HTML files to PDF files independent of the Markdown to HTML generation that is
the default and main use case for Markugen. More information can be found
in the
Command Line Interface Subcommands
section of teh documentation.