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

Allow Toggling of Markdown Mode #63

Open
DeCentN2Madness opened this issue Apr 11, 2018 · 6 comments
Open

Allow Toggling of Markdown Mode #63

DeCentN2Madness opened this issue Apr 11, 2018 · 6 comments

Comments

@DeCentN2Madness
Copy link

DeCentN2Madness commented Apr 11, 2018

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.

@arniebradfo
Copy link
Collaborator

thats interesting... what is the plugin that you use to turn markdown into html?

@DeCentN2Madness
Copy link
Author

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.

@Buzut
Copy link

Buzut commented May 20, 2020

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).

Capture-d-e-cran-2020-05-20-a-10-13-32.png

@foliovision
Copy link

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

@foliovision
Copy link

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:

  • highlight of Markdown links
    • highlighting plain links would be enough! (preferably also highlighting the brackets around them)
  • highlighting on ### 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.

@Buzut
Copy link

Buzut commented Jun 5, 2022

@foliovision I would be glad to give it a try 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants