module Pandocomatic

rubocop:disable Metrics

Constants

BLOCK_START

Regular expression to find the start of metadata blocks in a string.

DEFAULT_CONFIG

The default configuration for pandocomatic is read from default_configuration.yaml.

DEFAULT_EXTENSION

Maps pandoc output formats to their conventional default extension. Updated and in order of ‘pandoc –list-output-formats`.

DEFAULT_SETTINGS

The default settings for pandocomatic: hidden files will always be skipped, as will pandocomatic configuration files, unless explicitly set to not skip via the “unskip” option

METADATA_BLOCK

Regular expression to find metadata blocks in a string. This regular expression does interfere with pandoc’s horizontal line syntax when using three dashes for horizontal lines. Therefore, use four or more dashes in your pandoc documents.

OUTPUT_FORMATS

Output formats used in pandocomatic

PANDOCS_EXTENSION_TO_FORMAT_MAPPING

Pandoc’s mapping from file extensions to pandoc source format. Taken from github.com/jgm/pandoc/blob/main/src/Text/Pandoc/Format.hs

PANDOC_OPTIONS_WITH_PATH

Pandoc options that take a path as argument

VERSION

Pandocomatic’s current version.