github BIRSAx2/mdcat mdcat-2.12.0

latest releases: mdcat-2.15.0, mdcat-2.14.0, mdcat-2.13.0...
one month ago

Added

  • --smart-punctuation renders 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-themes prints 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's theme.toml.
  • pulldown-cmark-mdcat: Theme's style fields are now public (previously
    pub(crate)), so themes can be fully customised from outside the crate.
    Added Theme::with_h1 to keep the derived h1_prefix_style background in
    sync when changing the H1 style.

Don't miss a new mdcat release

NewReleases is sending notifications on new releases.