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

Syntax

描述

The Syntax WordPress plugin improves the process of inserting and displaying code examples within the WordPress editor.

Preserving the formatting of code within the WordPress editor can be a challenge. This is because WordPress filters content within the editor, which can change the content and/or formatting of the code. The Syntax plugin adds a button to the editor that allows code to be added in a way that preserves the syntax. This is done properly (without the use of shortcodes) so that even if you disable the Syntax plugin in the future, your code will still be wrapped in the semantically correct tags within your posts and pages.

The plugin works by saving each code example both within the editor and in a meta field created by the plugin. Whenever WordPress runs a filter with the potential to modify the code example, the example is copied from the meta field back into the editor.

常見問題

No questions yet

That’s right, none so far.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Syntax” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Syntax 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.9.2

Updated the plugin description.

0.9.1

Updated author details.

0.9.0

This is the first version. No changes yet.