danburzo / trimd

Convert between HTML, Markdown, and plain text from the command line.
https://danburzo.ro/projects/trimd/
MIT License
13 stars 0 forks source link

remarkdown: add support for -t/--transform #11

Closed danburzo closed 2 months ago

danburzo commented 2 months ago

Allow altering the Markdown via the MDAST tree, similarly to the API for yamatter.

A sample use case: adding ID attributes to headings (by transforming them to HTML elements).