WordPress.org

Ready to get started?Download WordPress

Forums

WP-Markdown
What is the difference ? (10 posts)

  1. Li-An
    Member
    Posted 2 years ago #

    Hello,
    as I am a hudge user of Markdown, I'm very interested in your plugin. I used Markdown Extra form Michel Fortin and now Mardown on Save after some tests with Markdown on Save improved.
    Why did you decide to make this new plugin and what is the difference with the two others ?

    http://wordpress.org/extend/plugins/wp-markdown/

  2. Stephen Harris
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Li-An,
    Firstly there is a difference in implementation. The above two plug-ins you've linked to save the post in markdown syntax as post meta. WP-Markdown does not do this, but instead converts it back into markdown syntax when you editi the post. Doing it in this way means that it is possible to enable markdown in the comments too.

    This plug-in also allows you to enable markdown on your bbPress forums (this was my primary motivation as I wanted an easy way to support code postings on my plug-in support forums and provide a decent UI which brings me onto...).

    With both comments and bbPress forums (and if there's demand possibly for posts too), there is a live preview of the generated markdown and a help toolbar. This is exactly what is used on the Stack Exchange websites.

    Finally, there is an option to load 'Prettify' which can automatically perform syntax highlighting.

    I hope that answers your question. I shall be looking into some more features (processing markdown on only part of the post using shortcodes for instance), and I'm all ears for suggestions!

  3. Li-An
    Member
    Posted 2 years ago #

    Thank you for all these precisions. Markdown in comments interest me a lot. I will test your plugin, I think :-)

  4. Li-An
    Member
    Posted 2 years ago #

    OK, I've installed it... And no options, no Markdown>HTML translationn, non preview...
    On a test blog, no other plugin activated and default theme...

  5. Stephen Harris
    Member
    Plugin Author

    Posted 2 years ago #

    Settings are on the 'Writing' WordPress settings page.

  6. Li-An
    Member
    Posted 2 years ago #

    OK, sorry, I did not wait for them here and I did not read the installation instructions. Shame on me !

    It works nice :-) and I like the helpbar in comments.

    But I don't like the way the plugin handles URL
    [lien](http://www.li-an.fr/blog/)
    becomes

    [lien][1] 
    
     [1]: http://www.li-an.fr/blog/

    I don't remember if it was a Markdonw Extra feature ?

  7. Stephen Harris
    Member
    Plugin Author

    Posted 2 years ago #

    This is a drawback of how the plug-in handles markdown (converts it to HTML and then converts back for editing): whether you use
    [lien](http://www.li-an.fr/blog/)

    or

    [lien][1] 
    
     [1]: http://www.li-an.fr/blog/

    the HTML output is the same, so when you edit the post the markdown will be the same. I belive they are both default Markdown syntax.

  8. Li-An
    Member
    Posted 2 years ago #

    Yes both exists in Markdown syntax
    http://daringfireball.net/projects/markdown/basics
    but it's too bad the plugin changes this because when you handle a lot of links in a post, it will be just painful to change one link.

  9. Stephen Harris
    Member
    Plugin Author

    Posted 2 years ago #

    The markdown for links will be shown as the latter example. I think this is better, since if you have multiple links to an address, and you need to alter that address you just alter it at the bottom, next to the number. You don't need to alter every link.

    If you want to alter just one link, then you just alter it using the first method, and all the rest will point to their original address.

  10. Li-An
    Member
    Posted 2 years ago #

    OK :-) Thank you for taking time to answer :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic