-
Notifications
You must be signed in to change notification settings - Fork 11
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
Switch to markdown-it from marked #75
Comments
@anuveyatsu have we checked markdown-it can do everything we are using marked for see e.g. the docs route for an example of full usage. |
@rufuspollock yes.
Re other options we're using with
|
* markdown-it as the markdown processor * markdown-it-anchor for making titles as anchors * markdown-it-container for supporting block containers, e.g., :::info
FIXED. We do CSS stuff in a separate issue, e.g., for block containers. Atm, behavior is as the following:
==> <div class="info">
<p>some info message</p>
</div> |
Why?
Other projects I've looked at seem to use it / consider it e.g. hackmd
Acceptance criteria
markdown-it
to convert markdown into html:::info
)Tasks
markdown-it
instead ofmarked
here - https://github.com/datahq/frontend/blob/master/lib/utils/index.js#L58markdown-it-anchor
for supporting headers as anchorsmarkdown-it-container
for supporting block containersThe text was updated successfully, but these errors were encountered: