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

Enable pulldown-cmark's table and footnote support #36

Closed
phil-opp opened this issue Apr 19, 2017 · 3 comments
Closed

Enable pulldown-cmark's table and footnote support #36

phil-opp opened this issue Apr 19, 2017 · 3 comments

Comments

@phil-opp
Copy link
Contributor

phil-opp commented Apr 19, 2017

Markdown tables and footnotes are pretty useful, so it would be great if I could use them with gutenberg.

The pulldown-cmark crate already provides optional support for markdown tables and footnotes. It can be easily enabled by passing OPTION_ENABLE_TABLES | OPTION_ENABLE_FOOTNOTES to Parser::new_ext.

@Keats
Copy link
Collaborator

Keats commented Apr 19, 2017

Ah, completely missed that. It's in master now

@phil-opp
Copy link
Contributor Author

Thanks a lot, works without problems!

@jtojnar
Copy link

jtojnar commented Jun 6, 2020

Looks like it is enabled here:

opts.insert(Options::ENABLE_TABLES);
opts.insert(Options::ENABLE_FOOTNOTES);
opts.insert(Options::ENABLE_STRIKETHROUGH);

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

3 participants