[WordPress] 外掛分享: MetaParsedown

前言介紹

  • 這款 WordPress 外掛「MetaParsedown」是 2019-11-04 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2019-11-05,距離現在已有 2007 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

pagerange |

外掛標籤

markdown | parsedown | metaparsedown | markdown-extra | parsedown-extra |

內容簡介

此外掛可將 Markdown 與 Markdown-Extra 格式的文件匯入 WordPress 的文章和頁面,輸出為 HTML,並解析和儲存 YAML front matter 至 post_meta、標籤和 (可選) 文章表格。

建立於 MetaParsedown、Parsedown 和 Symfony YAML 元件之上
支援 Markdown 和 Markdown-Extra 格式的文件
使用方便
輕量級
可選擇為語法突顯效果設計 Markdown 程式碼片段
經由您喜愛的 Git 存儲庫維護標準的 Markdown 文件
適用於 Gutenberg 及經典 WordPress 編輯器

使用方法

只需將 metaparsedown shortcode 加入貼文,其 url 屬性需識別此 Markdown 文件:

[metaparsedown url='https://gitlab.com/pagerange/docs/raw/master/markdown/test_markdown.md' /]

可選擇將解析並儲存 Markdown YAML front matter 至 post_meta 表格,加入 meta 屬性。

[metaparsedown url='https://gitlab.com/pagerange/docs/raw/master/markdown/test_markdown.md' meta="true" /]

可選擇透過 overwrite 屬性,覆蓋文章的 ‘post_title’ 和 ‘post_excerpt’ 欄位的 YAML 值。

[metaparsedown url='https://gitlab.com/pagerange/docs/raw/master/markdown/test_markdown.md' meta="true" overwrite="true" /]

Support

請至 https://github.com/pagerange/metaparsedown-wordpress/issues 回報問題。

捐贈

透過 Paypal 捐贈,網址為: http://pagerange.com/projects/wordpress/metaparsedown

原文外掛簡介

Import markdown and markdown-extra documents to WordPress posts and pages, output as HTML, parse and save YAML front matter to post_meta, tags, and (optionally) the posts tables.

Built on MetaParsedown, Parsedown and Symfony YAML components
Supports docments in both Markdown and Markdown-Extra formats
Easy to use
Lighweight
Optionally style markdown code snippets for syntax highlighting
Maintain cannonical markdown documents through your favourite git repository
Works with both Gutenberg and classic wordpress editors

How to use
Simply add the metaparsedown shortcode to your post, identifying the markdown document in the url attribute:
[metaparsedown url='https://gitlab.com/pagerange/docs/raw/master/markdown/test_markdown.md' /]

Optionally, parse and save markdown YAML front matter to the post_meta table by adding the meta attribute.
[metaparsedown url='https://gitlab.com/pagerange/docs/raw/master/markdown/test_markdown.md' meta="true" /]

Optionally, overwrite the post’s ‘post_title’ and ‘post_excerpt’ fields with YAML values by adding the overwrite attribute.
[metaparsedown url='https://gitlab.com/pagerange/docs/raw/master/markdown/test_markdown.md' meta="true" overwrite="true" /]

Support

Add issues at https://github.com/pagerange/metaparsedown-wordpress/issues.
Donate
Donate via Paypal at http://pagerange.com/projects/wordpress/metaparsedown

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「MetaParsedown」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | trunk |

延伸相關外掛(你可能也想知道)

  • Markdown Shortcode 》這個 WordPress 外掛是一個簡單易用的 [markdown] 短碼,使用 parsedown 和 highlight.js 库實現,不需要進行任何配置。 , 只需要在 WordPress 編輯器中編寫...。
  • Parsedown Party 》這個外掛可以讓你在個別文章中使用Markdown語法。你可以在文章編輯器中使用切換按鈕來啟用Markdown模式。啟用後,它會將WordPress文章編輯器替換為CodeMirror...。
  • WP-Parsedown 》使用Parsedown Extra解析the_content,以展示Markdown Extra內容的HTML解析器。。
  • {eac}Doojigger Readme Extension for WordPress 》ault translation table, # Default translation table, authentication_required=Authentication Required, changelog=Changelog, configuration=Configurat...。

文章
Filter
Apply Filters
Mastodon