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 to convert HTML back to markdown? #75

Closed
GoogleCodeExporter opened this issue Feb 22, 2016 · 1 comment
Closed

How to convert HTML back to markdown? #75

GoogleCodeExporter opened this issue Feb 22, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I have successfully setup pagedown on a site I am using, but I have run into an 
issue when trying to edit HTML that has already been created.  I would like to 
take a HTML chunk that was created using pagedown, convert it back to markdown 
and place it in the editor.

I looked around but didn't see this covered in the documentation.  I took a 
look in the Markdown.Editor.js file to see if there was a makeMarkdown function 
to match the makeHTML function but I didn't see anything.

How do I go about converting HTML back to markdown for editing?

Original issue reported on code.google.com by abemiess...@gmail.com on 2 Apr 2014 at 5:46

@GoogleCodeExporter
Copy link
Author

Pagedown doesn't offer this functionality. There are projects out there that do 
this, but there's of course no round-tripping guarantee (because that's 
impossible).

Original comment by b...@stackoverflow.com on 11 Apr 2014 at 7:58

  • Changed state: Invalid

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

1 participant