该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

此插件暂无评价。

贡献者及开发者

「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.