terrylinooo / githuber-md
An all-in-one WordPress Markdown plugin.
Installs: 64
Dependents: 0
Suggesters: 0
Security: 0
Stars: 644
Watchers: 13
Forks: 92
Open Issues: 12
Type:wordpress-plugin
Requires
- php: >=5.3
- erusev/parsedown: ^1.7
- erusev/parsedown-extra: ^0.7.1
- league/html-to-markdown: ^4.8
- dev-master
- 1.16.2
- 1.16.1
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.1
- 1.13.0
- 1.12.2
- 1.12.0
- 1.11.9
- 1.11.8
- 1.11.7
- 1.11.6
- 1.11.5
- 1.11.4
- 1.11.2
- 1.11.1
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.0
- 1.8.6
- 1.8.5
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.4
- 1.7.3
- 1.7.1
- 1.7.0
- 1.6.2
- 1.6.0
- 1.5.2
- 1.5.0
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.5
- 1.2.0
- 1.1.0
- 1.0.0
- dev-fix-security-issue-20231209
- dev-development
This package is auto-updated.
Last update: 2025-03-10 07:25:47 UTC
README
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
- WP Githuber MD will save your Markdown content into
wp_posts
.post_content_filtered
. - 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:
- Convert HTML to Markdown by using
HTML to Markdown
tool.
- Cut up a selection area of an image and copy it from Photoshop, then paste it to Markdown Editor.
- Click "Update" button to save Markdown to
post_content_filtered
and save HTML topost_content
(it is what you will see in result). - View the result.
Video
Requirement
- PHP version > 5.3.0
- WordPress version > 4.0
- Tested up to 5.5.1
Download
source | download |
---|---|
WordPress | https://wordpress.org/plugins/wp-githuber-md |
GitHub repository | https://github.com/terrylinooo/githuber-md/releases |
PHP Composer | composer create-project terrylinooo/githuber-md wp-githuber-md |
Installation
- Upload the plugin files to the
/wp-content/plugins/wp-githuber-md
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the
Plugins
screen in WordPress. - 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
andauto-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
thumbnail | screenshot | description | |
---|---|---|---|
Image copy & paste | view | Uplaoding images becomes much more eaiser, just copy and paste, then done. You can upload to your upload folder or host your images to Imgur.com . |
|
HTML to Markdown | view | Convert your old posts into Markdown by using HTML-to-Markdown helper that beside the Editor. | |
Syntax Highlighing | view | Use Google prettify.js for the Editor's live-preview pane, and use prism.js for the fontend pages. You can choose your favorite theme for syntax hgihlighing. |
|
Mermaid | view | Mermaid is a Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs. | |
KaTex | view | KaTex is a fast, easy-to-use JavaScript library for TeX math rendering on the web. | |
Flow Chart | view | Draws simple SVG flow chart diagrams from textual representation of the diagram. | |
Sequence Diagram | view | Turns Text Into Vector UML sequence diagrams. | |
Setting Page 1 | view | Markdown settings. | |
Setting page 2 | view | Modules settings. |
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