terrylinooo/githuber-md

An all-in-one WordPress Markdown plugin.

Installs: 64

Dependents: 0

Suggesters: 0

Security: 0

Stars: 619

Watchers: 13

Forks: 89

Open Issues: 11

Type:wordpress-plugin

1.16.2 2023-05-23 09:11 UTC

README

Screenshot

An all-in-on WordPress Markdown Plugin provides a variety of features such as Markdown editor, live-preview, image-paste, HTML-to-Markdown helper, and more..

How it works

  1. WP Githuber MD will save your Markdown content into wp_posts.post_content_filtered.
  2. Parse the Markdown to HTML, save the parsed HTML content into wp_posts.post_content.

This plugin will detect your Markdown content and decide what scripts will be loaded, to avoid loading unnecessary scripts. For example, if you enabled syntax highlight, you have to update your post again to take effects.

Demo

GIF animation

The demo shows you the following steps:

Screenshot

  1. Convert HTML to Markdown by using HTML to Markdown tool.

Screenshot

  1. Cut up a selection area of an image and copy it from Photoshop, then paste it to Markdown Editor.

Screenshot

  1. Click "Update" button to save Markdown to post_content_filtered and save HTML to post_content (it is what you will see in result).
  2. View the result.

Video

https://youtu.be/it1noNCTXa4

Requirement

  • PHP version > 5.3.0
  • WordPress version > 4.0
  • Tested up to 5.5.1

Download

Installation

  1. Upload the plugin files to the /wp-content/plugins/wp-githuber-md directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to the WP Githuber MD menu in Plugins and set your Markdown options.

Suggestions

The better situation to use this plugin is you just started a new blog.

If you're planning to use this plugin in an existing blog, be sure to:

  • Turn off other Markdown plugins, because the similar plugins might do the same things when submitting your posts, may have some syntax conversion issues between Markdown and HTML.
  • My personal suggestion is to turn off revision and auto-save, there are options in setting page.

Features

  • All-in-one Markdown editor.
  • Live preview.
  • Spell check.
  • Enable / disable Markdown for single post.
  • Support Gutenberg editor.
  • Support custom post types.
  • HTML-to-Markdown helper
  • Image copy & paste (support uploading to Imgur.com and sm.ms)
  • Syntax highlight.
  • Flow chart.
  • KaTex.
  • Sequence diagram.
  • Mermaid.
  • MathJax.
  • Emoji.
  • Github flavored Markdown task list.
  • Markdown extra...
  • Keyword suggestion tool.

Sceenshots

Author

Created by Terry L. and contributors. Thanks for the donators for supporting me, and the translators such as CoLocal and others for providing translation.

Notes

License

GPLv3 or later