Changes between Version 26 and Version 27 of MarkdownMacro


Ignore:
Timestamp:
Dec 10, 2020, 10:22:09 PM (3 years ago)
Author:
Ryan J Ollos
Comment:

Implement #13926.

Legend:

Unmodified
Added
Removed
Modified
  • MarkdownMacro

    v26 v27  
    55== Description
    66
    7 This 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.
     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.
    88
    99Example of its usage:
     
    3535}}}
    3636
     37Alternatively, enabling the `MarkdownEverywhere`
     38component will render wiki content as Markdown throughout Trac, without needing to wrap the text in a [WikiProcessors WikiProcessor]. See [#Installation installation] for details.
     39
    3740See also:
    3841 * John Gruber's [http://daringfireball.net/projects/markdown/ Markdown].
    39  * [http://www.freewisdom.org/projects/python-markdown/ Python Markdown].
     42 * [https://pypi.org/project/Markdown/ Python Markdown].
    4043 * [http://daringfireball.net/projects/markdown/syntax Markdown syntax].
    4144
     
    5457Download the zipped source from [export:markdownmacro here].
    5558
     59The plugin is also available on [pypi:TracMarkdownMacro PyPI].
     60
    5661== Source
    5762
     
    6065== Installation
    6166
    62 First you need to install [pypi:Markdown Python Markdown].
     67First you need to install the [pypi:Markdown Python Markdown] package.
    6368Follow the instructions on the Web site.
    6469
     
    6873{{{#!ini
    6974[components]
    70 Markdown.* = enabled
     75markdown.macro.markdowneverywhere = disabled
     76markdown.macro.markdownmacro = enabled
    7177}}}
    7278
    73 You may have to restart your Web server.
     79If you want to use markdown everywhere without
     80wrapping the text in a [WikiProcessors WikiProcessor]:
     81{{{#!ini
     82[components]
     83markdown.macro.markdowneverywhere = enabled
     84markdown.macro.markdownmacro = disabled
     85}}}
    7486
    7587== Recent Changes