Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering commonmark #60

Open
tysonzero opened this issue Sep 28, 2020 · 1 comment
Open

Rendering commonmark #60

tysonzero opened this issue Sep 28, 2020 · 1 comment

Comments

@tysonzero
Copy link

It seems like it is currently impossible to edit/produce markdown in a structured way.

For example going through and deleting all raw html.

@jgm
Copy link
Owner

jgm commented Sep 28, 2020

There is no commonmark renderer in this library.

The library does, however, track source positions of everything. You could use that to delete sections from the original file if you wanted to delete all raw HTML.

Note also that pandoc (which uses this library now) can render commonmark, and you can write lua filters for easy manipulation of the AST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants