Changes between Version 1 and Version 2 of WikiProcessors
- Timestamp:
- Nov 24, 2005, 1:25:39 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiProcessors
v1 v2 5 5 6 6 == Using Processors == 7 To use a processor on a block of text, use a wiki blockquote, selecting a processor by name using ' hashbang notation' (#!), familiar to most UNIX users from scripts.7 To use a processor on a block of text, use a wiki blockquote, selecting a processor by name using ''shebang notation'' (#!), familiar to most UNIX users from scripts. 8 8 9 9 '''Example 1''' (''inserting raw HTML in a wiki text''): … … 75 75 ---- 76 76 77 78 79 77 == Available Processors == 80 78 The following processors are included in the Trac distribution: 81 79 * '''html''' -- Insert custom HTML in a wiki page. See WikiHtml. 82 80 * '''rst''' -- Trac support for Restructured Text. See WikiRestructuredText. 83 * '''textile''' -- Initial support as of aug 2, 2004. See [http://projects.edgewall.com/trac/ticket/593 ticket 593] and [http://dealmeida.net/projects/textile/ Textile].81 * '''textile''' -- Supported if [http://dealmeida.net/projects/textile/ Textile] is installed. 84 82 85 === Source CodeSupport ===86 Trac includes processors to provide inline [wiki:TracSyntaxColoring syntax highlighting] for the selanguages:83 === Code Highlighting Support === 84 Trac includes processors to provide inline [wiki:TracSyntaxColoring syntax highlighting] for the following languages: 87 85 * '''c''' -- C 88 86 * '''cpp''' -- C++ … … 96 94 '''Note:''' ''Trac relies on external software packages for syntax coloring. See TracSyntaxColoring for more info.'' 97 95 98 By using the mime-type as processor, it is posible to syntax-highlight the same languages that are supported when browsing source code. (The list of mime-types can be found in [source:trunk/trac/Mimeview.py Mimeview.py]). 99 100 For example, you can write: 101 96 By using the MIME type as processor, it is possible to syntax-highlight the same languages that are supported when browsing source code. For example, you can write: 102 97 {{{ 103 98 {{{ … … 107 102 }}} 108 103 109 The result will be syntax highlighted htmlcode. The same is valid for all other mime types supported.104 The result will be syntax highlighted HTML code. The same is valid for all other mime types supported. 110 105 111 106 107 For more processor macros developed and/or contributed by users, visit: 108 * [http://projects.edgewall.com/trac/wiki/ProcessorBazaar ProcessorBazaar] 109 * [http://projects.edgewall.com/trac/wiki/MacroBazaar MacroBazaar] 112 110 113 For more processor macros developed and/or contributed by users, visit the macro bazaar:114 http://projects.edgewall.com/trac/wiki/MacroBazaar115 111 116 ----117 112 == Advanced Topics: Developing Processor Macros == 118 113 Developing processors is no different than WikiMacros. In fact they work the same way, only the usage syntax differs. See WikiMacros for more information. … … 128 123 129 124 ---- 130 See also 125 See also: WikiMacros, WikiHtml, WikiRestructuredText, TracSyntaxColoring, WikiFormatting, TracGuide