Enhances DokuWiki's Editor with syntax highlighting
Compatible with DokuWiki
This plugin is no longer maintained. You might want to check the prosemirror plugin as an alternative.
Look for new maintainer - see https://forum.dokuwiki.org/d/18017-maintainer-for-codemirror-wanted
Unfortunately albertgasset has abandoned the project and stopped support. Fortunately Andi made the project at least Hogfather compatible. But now we are looking for a new maintainer who will take care of Codemirror and develop it further.
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
To build the plugin from source code, you need Node.js and Grunt:
# Go to the plugins folder of DokuWiki cd dokuiki/lib/plugins # Install Grunt globally npm -g install grunt-cli # Clone the repo git clone https://github.com/albertgasset/dokuwiki-plugin-codemirror.git codemirror # Install required Node.js modules cd codemirror npm install # Build once grunt # Or, build and watch for modified files grunt dev
Yes, You can disable this plugin with button in the editor control.
Only syntax elements from core plugins and content inside <html>
, <php>
, <code>
and <file>
for languages supported by CodeMirror.
Yes. CTRL+F
(CMD+F
on a Mac) will being up a search box where you can enter a search string or a regular expression. CodeMirror will highlight all instances of matching strings throughout the document, and will scroll to the first match. On a Mac, CMD+G
will find the next matching string.
To report a bug, please use the issue tracker.