Releases: danburzo/trimd
Releases · danburzo/trimd
v0.11.1
Chores
Updated all dependencies.
Bug fixes
By updating to [email protected]
, the issue with trailing whitespace inside emphasis resulting in invalid Markdown syntax (#5) is fixed by encoding characters adjacent to markers (thanks, @wooorm!).
v0.11.0
New features
Added the --silent
option to suppress the output of commands.
v0.10.0
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.
v0.9.0
New features
The remarkdown
feature now accepts a function to transform the MDAST tree with the -t
/ --transform
option (#11)
v0.8.0
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.
v0.7.0
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.
v0.6.0
New features
Adds the demarkdown
and demarkup
commands for converting Markdown/HTML to plain text.
v0.5.0
New features
Added support for YAML / TOML front-matter data in the markup
and remarkdown
commands (#4)
v0.4.0
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.
v0.3.1
Bug fixes
Fixes trimd -v
displaying help instead of displaying version information.