Data package:pandoc

Access to pandoc's data files.
EPUB metadata
Metadata fields to set
Name of YAML metadata files
Returns possible user data directory if the file path refers to a file or subdirectory within it.
Returns fp if the file exists in the current directory; otherwise searches for the data file relative to subdir. Returns Nothing if neither file exists.
Returns the path of data file.
Get the user data directory from common state.
Read metadata file from the working directory or, if not found there, from the metadata subdirectory of the user data directory.
Set the user data directory in common state.
Directory to search for data files
Returns the path of data file.
Return appropriate user data directory for platform. We use XDG_DATA_HOME (or its default value), but for backwards compatibility, we fall back to the legacy user data directory ($HOME/.pandoc on *nix) if the XDG_DATA_HOME is missing and this exists. If neither directory is present, we return the XDG data directory. If the XDG data directory is not defined (e.g. because we are in an environment where $HOME is not defined), we return the empty string.
Read file from the default data files.
YAML metadata block
Metadata to include in EPUB