-
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
Is there a makeMarkdown function? #233
Comments
No |
@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 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 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.
|
version 1.9.0 released |
I understand that the |
@sojs-coder @tivie bumping this. Still encountering |
Yes. The master build should be compatible with node. Uses a new dependency, JSDOM, to replace the browser's DOM Parser. |
It doesn't really document how-to on Node, nor does it automatically pick up JSDOM, nor does it give relevant error message ( For the quick fix, but well, I really wanted to avoid attaching to globalThis... import { JSDOM } from 'jsdom'
;(globalThis as any).window = new JSDOM('', {}).window |
January 2023. "bidirectional" markdown tool still doesn't convert back to markdown, even ChatGPT is confused. |
This issue still seems to be present in the npm release. |
this works for me with JSDOM and showdown 2.1.0 |
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?
The text was updated successfully, but these errors were encountered: