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

How can I tune marked to process markup within HTML #556

Closed
varya opened this issue Mar 6, 2015 · 3 comments
Closed

How can I tune marked to process markup within HTML #556

varya opened this issue Mar 6, 2015 · 3 comments

Comments

@varya
Copy link

varya commented Mar 6, 2015

Is this possible to process the markup within HTML? I have such a markdown code from one jekyll project:

# Title

<div markdown="1">

* item
* item
* item

</div>

I want to switch into marked. So I need to make code inside the tags with markdown="1" attribute processable. How can I do this?

@rymohr
Copy link

rymohr commented Mar 9, 2015

Might want to take a look at #378 and #236.

@adam-p
Copy link

adam-p commented Mar 9, 2015

You will probably need to extract the plaintext Markdown from the HTML first. That's what I do with Markdown Here when getting the MD that the user has typed into an email. My HTML-to-text code is here, although there might be better out there.

@joshbruce
Copy link
Member

#985

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

4 participants