I'm trying to make a quote function to quote a forum post, which is in markup, but when clicking the quote button I'd like to the the markup and convert that forum post into Markdown and put it into the textarea, is there such a function?
No
@tivie I have found this gem.But i have no idea why i can not access it.Does showdown support reversed conversion?
@smoleniuch It's a feature we're developing for version 2.0
Is there a timeline on when 2.0 will be released?
I have a PR ready for showdownjs/ng-showdown that adds makeMarkdown directive to the ng-showdown directive, but it simply needs the latest version of showdown.
PS: I'd love to help contribute to showdown, recently introduced it into my own project and really like the library. Let me know if there's any features for 2.0 I can help work on.
I think I must be missing something – isn't this project described as "a bidirectional MD to HTML to MD converter"?
@charlie-s
I did not find any information about bidirectional flow, can you provide a sample??
Anyway the feature would be very useful.
@charlie-s The bidirectional is available in master and develop branches and to the soon to be released version 2.0-alpha-1
@smoleniuch @Gacnt @charlie-s @mattkwiecien @DougBeney @jdempster @Blaza @matthew-inamdar @jdhankins @circleart @ryantuck
Just pushed the reverse converter to 1.x branch. You can expect a 1.9.0 release with an [EXPERIMENTAL] reverse parser tomorrow.
Donate
As you know, ShowdownJS is a free library and it will remain free forever. However, maintaining and improving the library costs time and money.
If you like my work and find the library useful, please donate through Patreon or directly through paypal!! Your contribution will be greatly appreciated and help us continue to develop this awesome library.
version 1.9.0 released
Most helpful comment
I think I must be missing something – isn't this project described as "a bidirectional MD to HTML to MD converter"?