Changes between Version 24 and Version 25 of MarkdownMacro


Ignore:
Timestamp:
Apr 17, 2018, 8:54:19 PM (6 years ago)
Author:
figaro
Comment:

Moved example to description

Legend:

Unmodified
Added
Removed
Modified
  • MarkdownMacro

    v24 v25  
    55== Description
    66
    7 The !MarkdownMacro package implements John Gruber's [http://daringfireball.net/projects/markdown/ Markdown] lightweight plain text-to-HTML formatting syntax as a [WikiProcessors wiki processor] macro. The original code is courtesy of Alex Mizrahi aka [#SeeAlso killer_storm]. This plugin has higher robustness to the error checking, documentation of the package, a `setup.py` file and this `README` file added. The [http://pythonhosted.org/Markdown/extensions/tables.html Table extension] is also enabled.
     7This macro implements John Gruber's [http://daringfireball.net/projects/markdown/ Markdown] lightweight plain text-to-HTML formatting syntax as a [WikiProcessors wiki processor] macro. The original code is courtesy of Alex Mizrahi aka [#SeeAlso killer_storm]. This plugin has higher robustness to the error checking, documentation of the package, a `setup.py` file and this `README` file added. The [http://pythonhosted.org/Markdown/extensions/tables.html Table extension] is also enabled.
     8
     9Example of its usage:
     10
     11{{{
     12{{{
     13#!Markdown
     14
     15# RGB
     16
     17+ Red
     18+ Green
     19+ Blue
     20
     21## Source Code
     22
     23    from trac.core import *
     24    from trac.wiki.macros import WikiMacroBase
     25    from trac.wiki.formatter import Formatter
     26
     27An example [link](http://example.com/ "With a Title").
     28
     29A table:
     30
     31First Header  | Second Header
     32------------- | -------------
     33Content Cell  | Content Cell
     34Content Cell  | Content Cell
     35}}}
     36}}}
    837
    938See also:
     
    4574You may have to restart your Web server.
    4675
    47 == Example
    48 
    49 {{{
    50 {{{
    51 #!Markdown
    52 
    53 # RGB
    54 
    55 + Red
    56 + Green
    57 + Blue
    58 
    59 ## Source Code
    60 
    61     from trac.core import *
    62     from trac.wiki.macros import WikiMacroBase
    63     from trac.wiki.formatter import Formatter
    64 
    65 An example [link](http://example.com/ "With a Title").
    66 
    67 A table:
    68 
    69 First Header  | Second Header
    70 ------------- | -------------
    71 Content Cell  | Content Cell
    72 Content Cell  | Content Cell
    73 }}}
    74 }}}
    75 
    7676== Recent Changes
    7777