Added
--smart-punctuationrenders typographic punctuation: straight quotes
become curly quotes,--/---become en/em dashes, and...becomes an
ellipsis. Off by default, to avoid silently changing existing output.- Definition lists (
Term/: Description) are now rendered, with the term
in bold and its description(s) indented underneath. --list-themesprints a short sample rendered with every built-in theme,
to help pick one.- Configuration file at
~/.config/mdcat/config.toml: a[defaults]table
sets default values for--margin,--smart-punctuation,--columns,
--local, and--fail(the CLI flag always wins when passed); a[theme]
table picks a built-in theme as a starting point (base) and overrides
individual styles on top of it via a[theme.palette]of named colors and
a[theme.styles]table, in the same spirit as editor theme files like
Helix'stheme.toml. pulldown-cmark-mdcat:Theme's style fields are now public (previously
pub(crate)), so themes can be fully customised from outside the crate.
AddedTheme::with_h1to keep the derivedh1_prefix_stylebackground in
sync when changing the H1 style.