WordPress.org

Ideas

Built-in markdown support with visual editor

  1. 16patsle
    Inactive

    12345

    Markdown support is included with several plugins, however most of them implement it in an highly impractical way. Some of the plugins force you to save all the posts in markdown, while others need to convert to and from HTML on the fly, using additional server resources. Additionally, these plugins are usually just compatible with the text-based editor (with the exception of WP Markdown Editor which replaces the default visual editor with its own, but seems to have problems with the raw text editor).

    If you want to write in markdown, you will be unable to use the special shortcuts the visual editor toolbar offers, for instance the 'Read more' button and the internal linking feature. Instead you will have to type these things manually, requiring you to open the post you want to link to in another tab to grab the link.

    The ideal solution to this problem would be the ability to choose markdown as the format style for your posts, with it own specialized visual editor, possibly with a toolbar like the normal visual editor. A live preview (as in making the headings bigger and bold text bolder, like in the normal visual editor) to help with the writing would also be a great addition.

    With this visual markdown editor it would be possible to choose between a visual editor with the regular functionality and a barebones text editor, while still writing markdown for your posts.

    Posted: 8 months ago #
  2. Ipstenu (Mika Epstein)
    Administrator

    Markdown is supported in the visual editor.

    Try it :) Go in and type this:

    ## Hello

    Hit enter and it'll H2!

    it's not 100% full markdown yet, but it's there.

    Posted: 8 months ago #
  3. 16patsle
    Inactive

    12345

    I actually did not know abut this, but it works surprisingly well. Unfortunately it seems like it mostly supports headings at the moment. I would really like if it was possible to do at least bold and italic as well. Still has some potential to be improved, but this is indeed a start!

    Posted: 5 months ago #
  4. Ipstenu (Mika Epstein)
    Administrator

    Actually....

    Headers, bold, italic, lists (bullets and numbered), and block quotes all work.

    Posted: 5 months ago #
  5. 16patsle
    Inactive

    12345

    Wow, that's cool! Suppose I didn't check good enough last time. Still can't get bold and italic to work though. Will have a closer look soon, but it doesn't seem like something like **this** is converted to bold.

    Posted: 3 months ago #
  6. Ipstenu (Mika Epstein)
    Administrator

    _italic_

    *bold*

    Posted: 3 months ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    3 Votes
  • Status

    This idea is under consideration