Closed bestian closed 1 year ago
That’s a good idea for a PR :)
Actually as I see, what you want is not minifier for markdown, but rather linter, you can use 🐊Putout to lint JavaScript inside your markdown files
Thanks for your reply so soon,
But the function is only an example of the parser
Not the input part.
Let me explain the feature I actually requested:
input:
## Foo
Bar
Baz
Output:
## Foo Bar Baz
Code examples you provided has different meaning and they render differently:
Bar Baz
How it’s related to minification, and first provided example? To lint JavaScript inside markdown use 🐊Putout.
type: feature scope: markdown subject: Can you also support mifinfy a markdown .md file?
something like this: