Recent Changes - Search:

Site

Dev

Consulting

pmwiki.org

WikiSandbox edit SideBar
Version: Php-5.6.40-27+0~
Version: pmwiki-2.2.90

Precode - general utility block markup for displaying codes

Precode

Sample1 Sample1 | Sample2 Sample2 | Sample3 Sample3 | Sample4 Sample4 - advanced linenum | Sample5 Examples showing line highlighting and presenter | Sample6 Examples showing line highlighting + presenter + sytaxhighliting

  • General utility block markup for displaying codes on wiki pages.

Some of the potential uses of Precode  
 Long rfc style text can be input and referenced by line.
 Can be used by syntax-highlighting tools like Highlight.js, GeSHi with all its features.

About Precode

Some issues Precode addresses:

  1. Add line number to preformatted code/text.
  2. The line counter/number can be reset.
  3. Choice for list-styles
    disc | circle | square | decimal | decimal-leading-zero | lower-roman |
    upper-roman | lower-greek | lower-latin | upper-latin | armenian |
    georgian | lower-alpha | upper-alpha | none | inherit
  4. Line numbers can be custom styled.

Usage

  1. Adapters (included)
    1. chilli
    2. geshi
    3. highlightjs
    4. prettify
    5. prismjs
    6. rainbow
    7. sourceblock.geshi
    8. syntaxlove.syntaxhighlighter

Notes and Comments

Bugs

See Also

Contributors

Demo:

  • Please see links at the beginning of this page.

 Requirements
Package/AppsMinimumLast test
Php4 >= 4.3.05.5.4
PmWiki2.2.4+2.2.58

Files/Download

Latest: precode-latest.tgz
(archives)

Author

  • V.Krishn
Edit - History - Print - Recent Changes - Search
Page last modified on March 24, 2014, at 05:49 PM