Software Engineering in WordPress and Musings on the Deep Life

Markdown Code For WordPress 0.2.0

A couple of weeks ago, I released an extremely simple plugin for easily using markdown code syntax within the WordPress post editor.

I receive a lot of great suggestions in the comments (many of which I’m still planning to get around to working on); however, I had a few minutes to introduce one more feature: markdown code for comments.

Markdown Code For Comments

In short, the latest updates make it possible to use the same characters that you use in order to mark text as `code` within the context of the post editor.

This means that if you’re a developer – of one of your commenters is – then they’ll be able to use the markdown code to denote their code. For now, there’s no obvious indicator that this is even available, but this is just version 0.2.0, and I plan to continue to develop this as time permits.

Of course, feel free to submit any issues, open pull requests, or offer any feedback that you’ve got in the comments of the post.

Obviously, this isn’t a particularly fancy plugin, but it scratches an itch of my own and I’m sure there are other developers out there that would use this to make their post editing faster.

6 Comments

  1. Jez

    That’s *great*!.

    • Tom McFarlin

      Haha – no support for italics yet. Just (or is just *just* code?) :)

  2. Japh

    `Nice work!`

    • Tom McFarlin

      There we go, good sir!

      The thing is that if this thing gets too large, a parser will actually need to be developed to handle the grammar which is actually far beyond the scope of what I want to do especially because one already exists.

  3. syaiful bahri

    Like this project Tom, I found your blog over 8bit, I interesting to find your blog after learn WordPress Settings Api on tutsplus..

    I like write on markdown, but very usefull for beginner if you include preview on post editor..

    • Tom McFarlin

      I think this is a great idea.

      Since this is just a hobby project, it may take a while to get a while to implementing it, but I’ll make a note of it and see about it in the future. In the meantime, don’t forget that WordPress post “Preview” option will do just that, in the mean time :).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2023 Tom McFarlin

Theme by Anders NorenUp ↑