
內容簡介
一個全方位的 WordPress Markdown 外掛程式,提供多種功能,包括 Markdown 編輯器、即時預覽、圖片貼上、HTML 到 Markdown 換算工具等等。
如需詳細資訊,請參閱https://github.com/terrylinooo/githuber-md的說明文件。
示範
這個影片將透過以下步驟進行示範:
使用「HTML to Markdown」工具將 HTML 轉換成 Markdown。
從 Photoshop 剪下圖片選擇區,貼上到 Markdown 編輯器。
按下「更新」按鈕,將 Markdown 存儲於wp_posts.post_content_filtered,將 HTML 存儲於wp_posts.post_content(這是結果所需的內容)。
檢視結果。
如何運作
WP Githuber MD 將儲存您的 Markdown 內容到wp_posts.post_content_filtered。
解析Markdown至HTML,將解析後的HTML內容儲存在wp_posts.post_content中。
這個外掛程式會偵測您的 Markdown 內容,決定應該加載哪些腳本,以避免加載不必要的腳本。
例如,如果您啟用了語法突出顯示,您必須再次更新您的文章才能生效。
建議
使用這個外掛程式的最好情況是您剛開始建立一個新的部落格。
如果您打算在現有部落格中使用這個外掛程式,請務必:
關閉其他 Markdown 外掛程式,因為類似的外掛可能會在提交文章時執行相同的任務,導致 Markdown 和 HTML 之間轉換時可能會有某些問題。
我的建議是關閉修訂版和自動儲存功能,這個設定在設定頁面中可以找到。
功能
Markdown 編輯器。
即時預覽。
拼字檢查。
為單一文章啟用/關閉 Markdown。
支援 Gutenberg 編輯器。
支援自訂文章類型。
支援 Markdown 額外語法。
HTML-to-Markdown 工具。
圖片複製和貼上(支援上傳到 Imgur.com 和 sm.ms)
高亮代碼語法。 (prism.js 或 highlight.js)
流程圖。
KaTex。
時間表圖。
Mermaid。
MathJax。
Emoji。
Github風格中的Markdown任務列表。
獲取遠端圖片。
關鍵字建議工具。
等等…
翻譯
繁體中文 (zh_TW) 翻譯者為 Alex Lion.
簡體中文 (zh_CN) 翻譯者為 Terry Lin。
版權
WP Githuber MD,版權所有 2018-2020 TerryL.in
WP Githuber MD 依照 GNU GPL 條款發布。
本程式是自由軟件,您可以重新分發它和/或修改它。
根據 GNU 通用公共許可證的條款,您可以自由地使用本程式,但不帶任何保證;
沒有明示的或暗示的保證,包括但不限於適銷性和特定用途的適用性的保證,
任何情況下均不承擔任何責任。
有關更多詳細信息,請參閱 GNU 通用公共許可證。
外掛標籤
開發者團隊
② 後台搜尋「WP Githuber MD – WordPress Markdown Editor」→ 直接安裝(推薦)
原文外掛簡介
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..
Read detailed document, please visit https://github.com/terrylinooo/githuber-md.
Demo
The Video 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 to post_content (it is what you will see in result).
View the result.
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.
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.
Support Markdown extra syntax.
HTML-to-Markdown tool.
Image copy & paste (support uploading to Imgur.com and sm.ms)
Highlight code syntax. (prism.js or hightlight.js)
Flow chart.
KaTex.
Sequence diagram.
Mermaid.
MathJax.
Emoji.
Github flavored Markdown task list.
Fetch remote images.
Keyword suggestion tool.
and more…
Translations
English (en_US) by Colocal.
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.
