這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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]]]

螢幕截圖

  • Markdown Display Enabled in sidebar under Publish Settings
  • Markdown rendered as HTML

安裝

  1. Add the plugin from your WordPress Dashboard
  2. In any Page or Post select Markdown Display Enabled in the sidebar under Publish Settings
  3. Write your content with Markdown
  4. Publish or Preview to view your Markdown as HTML

常見問題

What does Markdown Display by Logic Hop do?

Markdown Display by Logic Hop renders markdown as HTML using Parsedown, a Markdown processor written in PHP.

Does it change my Markdown to HTML in the editor?

Your content retains its Markdown formatting in the WordPress editor. The Markdown is rendered as HTML when viewed on the frontend or within a preview.

How do I style my Markdown with CSS?

Markdown Display by Logic Hop renders Markdown content within a DIV with the class markdown.

Does this plugin work in Gutenberg

No, Gutenberg converts Markdown content to HTML automatically.

What is Logic Hop?

Logic Hop brings the power of content personalization to WordPress.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Markdown Display by Logic Hop” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Markdown Display by Logic Hop 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

  • Initial version