WordPress.org

Plugin Directory

Mytory Markdown

This plugin get markdown file path on dropbox public link or github raw content url. It convert markdown file to html, and put it to post content. It

This plugin get markdown file path on dropbox public link or github raw content url. It convert markdown file to html, and put it to post content.

It also provide text mode that write markdown in post edit page. Markdown text converted to html is put to editor by real-time. Text mode don't use url.

Features

View intro video.

  • This plugin get markdown file path on dropbox public link or github raw content url. It convert markdown file to html, and put it to post content.
  • You can update post by editing file on your computer with dropbox sync feature. Or you can update post by push your content to github. Of course, you can edit directly from github website.
  • If post was updated once, plugin check only URL server's ETAG not full content. It is for speed. If ETAG was changed, plugin get new content and update post content. Or do nothing.
  • Plugin only pass converted html content to editor. Saving is WordPress's work. So revision history is preserved.
  • Plugin's compatibility is good. Because this plugin updates only post content html. This doesn't touch the_content process(vary plugins touch the process).
  • You can use markdown extra syntax.
  • It provide markdown editor that can use in post editing page instead of url.

Notice about Dropbox

This plugin use dropbox 'Public link' not 'Share link'. Currently only Dropbox Pro and Business users may enable Public folders. Below is a example.

  • (Public link)[https://dl.dropboxusercontent.com/u/15546257/test.md]
  • (Share link)[https://www.dropbox.com/s/rgin3gbpa5y0505/test.md?dl=0]

If you are Pro and Business user, visit this page to 'enable public folder'.

If you are not, you can use GitHub, instead.

Logic

On admin page

On admin write page, put markdown url path. And click 'update editor' button. So markdown content converted to html is putted to editor. See screenshot 1.

On view page

This plugin get file url(Dropbox public link is recommended). And save header's etag to postmeta and converted html to post_content. Next time on request same post, first this plugin olny get dropbox http etag. If changed etag, get dropbox md content and save again, or get html from post_content.

This plugin divide title and content from md file

If markdown file has h1 this plugin puts first h1 string to post_title. Of course, remove the h1 from post_content so don't print title twice.

Source Code

Mytory Markdown Github

Requires: null or higher
Compatible up to: 4.4.4
Last Updated: 7 months ago
Active Installs: 100+

Ratings

5 out of 5 stars

Support

0 of 2 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
100,1,1
0,1,0 100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1