trimd

Convert between HTML, Markdown, and plain text from the command line.

MIT License

Downloads
39
Stars
12
Committers
1

Bot releases are hidden (Show)

trimd - Latest Release

Published by danburzo 2 months ago

New features

Added the --silent option to suppress the output of commands.

trimd -

Published by danburzo 2 months ago

New features

Added the --write option. With this option, the results of processing the operands are written back to their respective input files, instead of having them concatenated in stdout. When using --write, the result of processing stdin is skipped, as it doesn’t correspond to a physical file.

trimd -

Published by danburzo 2 months ago

New features

The remarkdown feature now accepts a function to transform the MDAST tree with the -t / --transform option (#11)

trimd -

Published by danburzo 3 months ago

New features

  • Add --no-sanitize flag to markup and remarkup commands to disable the HTML sanitization step when the input is known to be safe.
trimd -

Published by danburzo 4 months ago

New features

  • Added the remarkup command to simplify HTML by converting it to Markdown and back.
  • Added the --data-url flag for commands that output HTML (markup, remarkup) to format the result as a base64-encoded data: URL.
trimd -

Published by danburzo 6 months ago

New features

Adds the demarkdown and demarkup commands for converting Markdown/HTML to plain text.

trimd -

Published by danburzo about 1 year ago

New features

Added support for YAML / TOML front-matter data in the markup and remarkdown commands (#4)

trimd -

Published by danburzo over 1 year ago

New features

Adds trimd remarkdown command, taking the same options as trimd markdown, to convert Markdown to Markdown. This is useful for converting mixed Markdown + HTML to plain Markdown, as well as for normalizing the style based on the provided md.* options.

trimd -

Published by danburzo over 1 year ago

Bug fixes

Fixes trimd -v displaying help instead of displaying version information.

trimd -

Published by danburzo over 1 year ago

New features

  • trimd markup: Maintain any raw HTML found in Markdown files.
trimd -

Published by danburzo over 1 year ago

New features

Add remark-gfm to the HTML to/from Markdown pipelines to enable GitHub-Flavored Markdown features.