BACK TO DIRECTORY

Syntax

by modularwp

0.0
(0 ratings)

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.

Plugin Details

Active Installs
10
Total Downloads
1,627
Version
0.9.2
Requires WP
4.7.0
Requires PHP
Tested Up To
4.7.35
Added
2017-05-15
Last Updated
2017-05-16 12:00am GMT

Ratings

5
0
4
0
3
0
2
0
1
0

Tags