Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.02 KB

DokuWiki plugin Code Prettifier

syntax highlighting of source code snippets in wiki page, using Javascript code prettifier (former google-code-prettify).

Usage/Example

<Code:php linenums:1 |Example #1 Our first PHP script: //hello.php//>
<html>
  <head>
  <title>PHP Test</title>
 </head>
 <body>
 <?php echo '<p>Hello World</p>'; ?> 
 </body>
</html>
</Code>

Example #1


Licensed under the GNU Public License (GPL) version 2

The Javascript code prettifier, which was once known as "google-code-prettify", is a javascript module and CSS file that allows syntax highlighting of source code snippets in an html page. They are separetely licenced under the Apache License, Version 2.0

More information is available:

(c) 2015-2019 Satoshi Sahara <[email protected]>