Skip to content

syntax highlighting of code snippets in your page using google-code-prettify.

Notifications You must be signed in to change notification settings

EricFromCanada/dw-plugin-codeprettify

 
 

Repository files navigation

DokuWiki plugin Code Prettifier

syntax highlighting of source code snippets in wiki page, using 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 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 infomation is available:

(c) 2015 Satoshi Sahara <sahara.satoshi@gmail.com>

About

syntax highlighting of code snippets in your page using google-code-prettify.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.2%
  • CSS 7.9%
  • HTML 7.6%
  • PHP 6.3%