WP Githuber MD – WordPress Markdown Editor

説明

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

Read detailed document, please visit https://github.com/terrylinooo/githuber-md.

Demo

The Video shows you the following steps:

  1. Convert HTML to Markdown by using HTML to Markdown tool.
  2. Cut up a selection area of an image and copy it from Photoshop, then paste it to Markdown Editor.
  3. Click “Update” button to save Markdown to post_content_filtered and save HTML to post_content (it is what you will see in result).
  4. View the result.

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.

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 suggestion is to turn off revision and auto-save, there are options in setting page.

Features

  • 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.

Translations

Traditional Chinese (zh_TW) by Alex Lion.
Simplified Chinese (zh_CN) by Terry Lin.

Copyright

WP Githuber MD, Copyright 2018-2020 TerryL.in
WP Githuber MD is distributed under the terms of the GNU GPL

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

スクリーンショット

  • HTML-to-Markdown tool.
  • Image copy and paste.
  • Update post and see result.
  • Syntax Highlighing
  • Mermaid.
  • KaTex.
  • Flow Chart.
  • Sequence Diagram.
  • Setting Page 1. (Markdown)
  • Setting page 2. (Modules)
  • Setting page 3. (Extensions)
  • Setting page 4. (Preferences)

インストール

  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.

FAQ

You’ll find answers to many of your questions on Report issues.

評価

2020年5月15日
Hi, like s.dudchenko and others i love your plugin. Best MD Plugin on WP. On my personal website i use grav CMS because static site generators have so much great options and even better workflows as database driven solutions. Your plugin is a great bridge to get this feeling. You would be my hero and perhaps for so many guys if WP Githuber MD get an option / feature to import RAW from Gitlab/Github. All git sync plugins on github and on wordpress.org are aweful in combination with ugly gutenberg or classic editor. I tried so much, there is no toolchain to combine the power of git with a really good MD Editor/wordpress file management. That's the point, why grav CMS is Nr.1 for my personal work. At work i am glad that the government allowed us to use WordPress 🙂 You would be our work-god if WP Githuber MD get a git push/pull feature in the future <3 Please keep pushing WP Githuber MD. Like many others here, this is my first WordPress comment, registered an account 10 min ago - only for this awesome plugin!!!
2020年3月24日
Great plugin, thanks to it I came back from Grav CMS to WordPress. Guys, great job, keep it up! Thank you for your work.
2020年3月8日
Delivers what it promises (and more). Sleek and sturdy, it's a game changer for Knowledge Bases. Love it!
2019年8月27日
It's very useful and good to use when I write with markdown!
2019年7月29日
Everything you could ask for. Definitely deserves more love. 5 stars without question.
13件のレビューをすべて表示

貢献者と開発者

WP Githuber MD – WordPress Markdown Editor はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“WP Githuber MD – WordPress Markdown Editor” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“WP Githuber MD – WordPress Markdown Editor” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

= 1.0.0

  • First release.

= 1.1.0

  • Add Image-Paste module.

= 1.2.0

  • Image paste – Provide an option that allows you directly upload to Imgur.com.
  • Rename plugin name from “Githuber MD” to “WP Githuber MD”.
  • Add new settings.

= 1.2.5

= 1.3.0

  • Add a HTML to Markdown tool beside editor.
  • Add an option that allows users to turn off auto-save.
  • Add more information in About page.

= 1.3.1

  • Backward compatible with PHP 5.3 and WordPress 4.0.x. (Tested in PHP 5.3.5 with WordPress 4.0.25 OKAY.)
  • Modify HTML-to-Markdown helper and image-paste description.
  • Add language packs template.
  • Improve HTML-to-Markdown helper.

= 1.3.2

  • Add language pack: zh_TW.
  • Fix bugs.

= 1.4.0

  • Add Mermaid module.
  • Add language pack: zh_CN.
  • Fx bugs.

= 1.4.1

  • Add line-number setting for Markdown Editor.
  • Adjust KaTeX module – Now it can only used in the Markdown code blocks that are defined with katax.
  • Improve Markdown editor – Adjust the dialog button’s look and fix the overflow issues.
  • Yoast SEO’s CSS has a global class name path uses animation, will break the Marmaid’s SVG in the editor’s preview panel, because they both uses the same common class name. We force to remove the animation attribute to make it work.

= 1.4.2

  • Fix bug: HTML-to-Markdown helper.

= 1.4.3

  • Bug fix – issue #3 – Thank to wojciehm@github for reporting this issue.
  • Display a notice if user’s PHP version does not meet the minimum requirement.

= 1.5.0

  • Detect Jetpack Markdown module.

= 1.5.2

  • Fix bug: Inserting image not working. (issue #6)
  • Support KaTex inline. (feature request #7)
  • Add custom Markdown syntax block for HTML 5 figure (feature request #8)

= 1.6.0

  • Support cusotm post types.
  • Add Enable Markdown option beside editor.
  • Support Gutenberg editor. Now you are able to disable Markdown for a post then back to use Gutenberg editor.

= 1.6.2

  • Add a new setting option in ImagePaste module. (feature request #16)
  • Add new option when using Add media -> Insert to post that allows user insert HTML into post. (feature request #17)
  • Fix bug: Classic editor’s visual mode is not showed after disabling post type option. (issue #15)
  • Imporve: Beautify Markdown switcher.

= 1.7.0

  • Improve setting page UI.
  • Add examples in setting pages.
  • Issue #22 – footnote.
  • Feautue request #19 – Add support to shortcode.
  • And other issues…

= 1.7.1

  • Bug fix and a bit improvement.

= 1.7.2

  • Fix issue: disable-revisions not working.
  • Add donation information.

= 1.7.3

  • Fix issues: #29, issue #30 and issue #31.
  • Fix issue: Makrdown extra not working.

= 1.7.4

  • Fix Javascript syntax error (Link Opening Method).

= 1.8.0

  • Fix issue #39: Live-preview doesn’t react when Sync Scrolling is off.
  • Feature request #36: Image-paste – add suport to sm.ms (another image hosting service)
  • Fix bug: register_activation_hook does not implement when activating plugin at the first time.
  • Fix issue: incorrect variable name in unstall.php.

= 1.8.1

  • Fix issue: wp_get_attachment_url() doesn’t distinguish whether a page request arrives via HTTP or HTTPS
  • Fix issue #38 – preserve inline code block.
  • Add Simplified Chinese language package.

= 1.8.2

  • Fix issue #42: Markdown syntax takes effect between two inline code blocks.

= 1.8.5

  • Add feature: Githuber MD extensions – Inline code block with keyboard style. Example: {ctrl}
  • Fix issue: inline code block doesn’t work on just one character, for example a. This issue is associated with issue #42

= 1.8.6

  • Fix issue #44: Unable to insert linked images.
  • Fix issue #45: HTML-to-Markdown doesn’t transform table as expected.

= 1.9.0

  • Add feature: TOC (Table of content) module.
  • Add feature: Transform &amp; to & in URLs.

= 1.9.1

  • Fix issue #48: Because some systems don’t have php_fileinfo installed, use $_FILES['type'] instead.

= 1.10.0

  • Feature request #53: Add Copy-to-Clipboard button on syntax highlighting code blocks.
  • Fix issue #52 – Remove auto-match highlighter.
  • Fix issue #57 – Preserve code blocks in a list.

= 1.10.1

  • Feature request #59: Move the front added .css and .js to the inline script section.
  • Issue #62: Fix add media button that is invalid for other types of media files such as audio.
  • Fix incorrect link coloring in marked.js
  • Issue #49: Images are inserted at the end of the document.

= 1.11.0

  • Feature request #65: Spell check.
  • Add new settings in the Preferences tab.

= 1.11.1

  • Fix issue #68: Cannot display javascript template text correctly on code blocks.
  • Fix issue: TOC should not be displayed on homepage and archive pages.
  • Improve: Spellcheck compatibility check.
  • Improve: Allow Markdown syntax in code blocks.

= 1.11.2

  • Fix issue #31 – This issue occurred again because of the modification of #57.

= 1.11.3

  • Fix issue #70: Bug occurs when adding featured image.
  • Fix issue #71: Support Shortcodes Ultimate plugin.

= 1.11.4

  • Fix issue #72: Syntax highlight – use prism autoloader plugin instead.
  • Feature request #74: Add an option for match highlighter.

= 1.11.5

  • Jetpack compatibility #80, #81, thanks @jeherve
  • Fix issue #92
  • Remove donation information.

= 1.11.6

  • Fix issue #89 – Code block parsing problems.
  • Fix issue #96 – KaTex not working when using only inline syntax.

= 1.11.7

  • Fix issue #99 – a CSS conflict in menu page.
  • Fix issue #91 – post_id check.
  • Feature request #98 – Add a new option in Preferences.

= 1.11.8

  • Fix issue #107 – Fix parsing inline KaTax syntax.
  • Fix issue #104 – UL list does not display correctly in the preview panel.

= 1.11.9

  • Fix issue #126 – Conflict with WordPress 5.3 ( add_plugins_menu function changes )
  • PR #118 – Allow adding links to other file types rather than only inserting images.

= 1.12.0

  • Feature request #75 – Save images to local folder.
  • New feature – Syntax highlighter by highlight.js
  • Hide support comment option because it doesn’t work now.
  • Update uninstall.php

= 1.12.1

  • Move settings to the option submenu.

= 1.12.2

  • Fix issue #144 – Deregistering autosave script gives error. (Fixed by alpipego. Thanks for contributing.)
  • Fix issue #143 – Unable to upload images to sm.ms. (The v1 API is deprecated.)
  • Fix issue #147 – Update CodeMirror themes.

= 1.13.0

  • New feature – MathJax.

= 1.13.1

  • Bug fix – Missing property in Markdown class.

= 1.14.0

  • Feature request #86, #135 – Emojify module.
  • Fix issue #163 – Update KaTex version.
  • Fix issue #127, #149 – Link opening method.
  • Fix issue #156 – Highlight C code block.
  • Fix issue #120 – FlowChart identification code – flow, which occurs a conflict to Prism.
  • Fix issue #103 – Markdown editor UI – add support to zh_CN

= 1.15.0

  • New feature – Keyword suggestion tool.