plugin:codeprettify
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:codeprettify [2015-07-22 23:42] – [Development] 90.146.140.162 | plugin:codeprettify [2018-06-09 22:02] – Aleksandr | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : sahara.satoshi@gmail.com | email : sahara.satoshi@gmail.com | ||
type : syntax | type : syntax | ||
- | lastupdate : 2015-01-24 | + | lastupdate : 2018-05-02 |
- | compatible : Hrun | + | compatible : Hrun, 2015-08-10, 2016-06-26, 2017-02-19 |
depends | depends | ||
conflicts | conflicts | ||
Line 23: | Line 23: | ||
===== Installation ===== | ===== Installation ===== | ||
- | Install | + | Search and install |
+ | |||
+ | Note: After updated to 2015-09-12 release, you can remove older " | ||
===== Feature ===== | ===== Feature ===== | ||
- | This plugin enable syntax highlighting of code snippets in your page using [[https:// | + | This plugin enable syntax highlighting of code snippets in your page using [[https:// |
* You can configure Code Prettifier plugin to override DokuWiki built-in syntax '' | * You can configure Code Prettifier plugin to override DokuWiki built-in syntax '' | ||
Line 36: | Line 38: | ||
* Enclose code snippets using '' | * Enclose code snippets using '' | ||
- | * Google-code-prettify | + | * Prettify |
- | * To specify language hint for Prettify, you can use \\ 1) '' | + | * To specify language hint for Prettify, you can use |
- | * For example, use '' | + | - '' |
- | * use '' | + | - '' |
- | * If you want to add title for code block, you can specify it after '' | + | * For example, use '' |
+ | * use '' | ||
+ | * If you want to add title for code block, you can specify it after '' | ||
Line 62: | Line 66: | ||
^ Config key ^ Description | ^ Config key ^ Description | ||
|'' | |'' | ||
- | |'' | + | |'' |
- | |'' | + | |'' |
- | |'' | + | |'' |
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
- | Detail information of the google-code-prettify | + | Detail information of the Javascript |
* https:// | * https:// | ||
Line 75: | Line 82: | ||
* sons-of-obsidian.css | * sons-of-obsidian.css | ||
* sunburst.css | * sunburst.css | ||
+ | |||
+ | Other color themes for Prettify will be found at http:// | ||
Line 80: | Line 89: | ||
=== Change Log from github repository === | === Change Log from github repository === | ||
+ | |||
{{rss> | {{rss> | ||
=== ToDo/Wish List === | === ToDo/Wish List === | ||
- | | + | |
+ | | ||
+ | * follow recent updates of [[https:// | ||
===== FAQ ===== | ===== FAQ ===== | ||
+ | |||
+ | ==== Non-highlight code block ==== | ||
+ | |||
+ | use '' | ||
+ | < | ||
+ | This is not any kind of code. | ||
+ | </ | ||
===== Known Bugs and Issues ===== | ===== Known Bugs and Issues ===== | ||
- | see also: https:// | + | |
+ | See also: https:// | ||
===== Discussion ===== | ===== Discussion ===== | ||
+ | |||
+ | Using current dokuwiki theme and prettifyer with <Code linenums> | ||
+ | line. | ||
+ | |||
+ | To solve just add | ||
+ | '' | ||
+ | to lib/ | ||
plugin/codeprettify.txt · Last modified: 2023-12-04 19:42 by 2607:f8d8:2:1:dda3:ffb:6ae1:ebca