-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Feature request] - Reverse convert #388
[Feature request] - Reverse convert #388
Comments
What is the use case of this? |
Markdown is useful because it leaves the formatting/display up to the client. Example - you may be converting markdown to richtext to display within a mobile app, instead of displaying it as HTML as you would in a web app. So a use case might be that you use a WYSIWYG editor to create HTML content via a web app. The content is then reverse converted to markdown and stored in the DB. When consumed/viewed, the same content is then either converted to HTML for display on web, or richtext for display in a mobile app (etc). |
Check this post in our website: |
Was this already implemented and just hard to find? The repo description seems to indicate this functionality exists:
|
I just found it in tests. |
@tivie Is 2.0 out yet or when will it be? @OrkhanAlikhanov did you find that in tests but not available in source code? converter.makeMarkdown() Thanks |
@jrmcdona It's available in master branch. See |
For e.g
<h1 id="hellomarkdown">hello, markdown!</h1>
Will return back
# Hello markdown
The text was updated successfully, but these errors were encountered: