Open DeCentN2Madness opened 6 years ago
thats interesting... what is the plugin that you use to turn markdown into html?
Right now I'm using the JP Markdown 3.9.6 plugin. It's just the Markdown module from JetPack, which seems to be what most WP Markdown plugins use.
This is a feature I'd love too. Some plugins store Md in post_content_filtered.
But as I develop themes tailored for a website's needs, I sometimes use Md directly as the main content. The theme handles the conversion.
For that, I just use Parsedown in the theme's templates, passing it directly get_the_content()
and ACF field's content when relevant.
No need for anything fancy though, hilighting the most common elements as VSCode does would suffice (at least for my use case).
I'm a buyer for this feature as well. We'd be happy to donate to HESH to accelerate support for GFM in the posts/pages editor. Very similar workflow to @Buzut
We were just discussing how to support Markdown properly with syntax highlighting. Getting the WordPress shortcodes was the most important part. This already gives some kind of highlighting to links (the text part).
There's only a couple more pieces really needed:
###
style hash tags headers (darkred hash tags for instance) Buzut, we'd like to send you a copy of our Parsedown based Markdown editor which is fully compatible with WordPress shortcodes and WordPress plugins to try.
@foliovision I would be glad to give it a try 🙌
I write posts and pages in Markdown rather than HTML, then use a WP conversion plugin to save an HTML version of my content for publication. The ability to toggle CodeMirror Markdown mode and possibly their GitHub Flavored Markdown mode within the HESH settings would help authorship tremendously.