Version 1 (modified by 15 years ago) (diff) | ,
---|
CodeExample
Notice: This plugin is unmaintained and available for adoption.
Description
The Trac plugin for code examples colouring. It support three types of examples - a simple, a correct and an incorrect.
Bugs/Feature Requests
Existing bugs and feature requests for CodeExampleMacro are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from [download:codeexamplemacro here].
Source
You can check out CodeExampleMacro from here using Subversion, or browse the source with Trac.
Example
The simple example:
{{{ #!CodeExample #!python def main(): pass }}}
The incorrect example:
{{{ #!BadCodeExample #!cpp void main() { return -1; } }}}
The correct example:
{{{ #!GoodCodeExample #!java public void isCorrect() { throw new NotImplementedException(); } }}}
Recent Changes
- 14903 by rjollos on 2015-09-21 15:43:45
-
Removes
svn:mime-type
text/plain
.
- 14039 by rjollos on 2014-07-26 00:37:54
-
1.2: Include images in egg and fixed links to sample screenshots. Fixes #8331.
- 14038 by rjollos on 2014-07-26 00:37:35
-
Added URL to
setup.py
and bumped version to 1.1. Refs #9716.
(more)
Author/Contributors
Author: nuald
Contributors:
Attachments (7)
-
example.png (15.8 KB) - added by 15 years ago.
The simple example image.
-
correct_example.png (12.9 KB) - added by 15 years ago.
The correct example image.
-
incorrect_example.png (8.9 KB) - added by 15 years ago.
The incorrect example image.
- example1.png (23.2 KB) - added by 14 years ago.
- example2.png (20.1 KB) - added by 14 years ago.
- example3.png (25.9 KB) - added by 14 years ago.
- example4.png (15.0 KB) - added by 14 years ago.
Download all attachments as: .zip