[WordPress] 外掛分享: Markdown Display by Logic Hop

首頁外掛目錄 › Markdown Display by Logic Hop
WordPress 外掛 Markdown Display by Logic Hop 的封面圖片
全新外掛
安裝啟用
尚無評分
2601 天前
最後更新
問題解決
WordPress 4.9.0+ v1.0.2 上架:2019-02-02

內容簡介

Markdown Display by Logic Hop 是一個外掛,使用 PHP 撰寫的 Markdown 處理器Parsedown來將 Markdown 轉換成 HTML。

這個簡單的外掛是為了讓為Logic Hop 編寫文檔更加簡單和高效。

你的內容在 WordPress 編輯器中保留了其 Markdown 格式。當在前端或預覽中查看時,Markdown 將在帶有樣式類別為 markdown 的 DIV 中轉換為 HTML。

Markdown Display by Logic Hop 也非常適合Logic Hop 合作夥伴在為 Logic Hop 編寫教程時展示代碼示例。

獨特功能

Markdown Display by Logic Hop 將會處理並轉換短碼和邏輯標籤。

若要顯示數據邏輯標籤以便在文檔中使用,請使用以下格式:

{{{ var: variable_here }}}

若要顯示條件邏輯標籤以便在文檔中使用時,請使用以下格式:

{{% if condition: condition_here %}}
// YOUR CONTENT
{{% endif %}}

若要顯示短碼以便在文檔中使用,請使用以下格式:

[[[shortcode_here]]]

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Markdown Display by Logic Hop」→ 直接安裝(推薦)

原文外掛簡介

Markdown Display by Logic Hop renders markdown as HTML using Parsedown, a Markdown processor written in PHP.
This simple plugin was developed to make writing documentation for Logic Hop easier and more productive.
Your content retains its Markdown formatting in the WordPress editor. The Markdown is rendered as HTML within a DIV with the class markdown when viewed on the frontend or within a preview.
Markdown Display by Logic Hop is also perfect for Logic Hop Affiliates when writing tutorials for Logic Hop as you can easily display code samples.
Special Features
Markdown Display by Logic Hop will process and render both Shortcodes and Logic Tags.
To display Data Logic Tags unprocessed for use in documentation, use the following format:
{{{ var: variable_here }}}

To display Conditional Logic Tags unprocessed for use in documentation, use the following format:
{{% if condition: condition_here %}}
// YOUR CONTENT
{{% endif %}}

To display Shortcodes unprocessed for use in documentation, use the following format:
[[[shortcode_here]]]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon