Changes between Version 5 and Version 6 of AsciiMathMacro


Ignore:
Timestamp:
Oct 18, 2016, 10:18:38 PM (5 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • AsciiMathMacro

    v5 v6  
    66
    77This macro allows equations to be written in a simple text format using a subset of the ASCIIMathML syntax. When the page is requested, the
    8 ASCII text is transformed into [http://en.wikipedia.org/wiki/MathML MathML], which can be rendered in any capable browser: Firefox for sure, IE with the !MathPlayer plugin, maybe Opera.
     8ASCII text is transformed into [wikipedia:MathML MathML], which can be rendered in any capable browser: Firefox for sure, IE with the !MathPlayer plugin, maybe Opera.
     9
     10To create a MathML representation of the Pythagorean theorem:
     11{{{
     12{{{#!ASCIIMath
     13a^2 + b^2 = c^2
     14}}}
     15}}}
     16
     17and the resulting wiki page's source should now contain properly formatted MathML code for display:
     18
     19[[Image(pythagorean.png)]]
     20
     21For more information about formatting the ASCII code describing the equation, see the [http://www1.chapman.edu/~jipsen/mathml/asciimath.html ASCIIMathML documentation]. Some items might not display exactly as shown.
    922
    1023No other executables, modules, or plugins are necessary for this to work.
    1124
    1225See [https://github.com/favalex/python-asciimathml] for more info.
    13 
    14 This code is licensed under GNU GPL Version 3.
    1526
    1627== Bugs/Feature Requests
     
    3243You can check out AsciiMathMacro from [/svn/asciimathmacro here] using Subversion, or [source:asciimathmacro browse the source] with Trac.
    3344
    34 == Example
    35 
    36 To create a MathML representation of the Pythagorean theorem:
    37 {{{
    38 {{{#!ASCIIMath
    39 a^2 + b^2 = c^2
    40 }}}
    41 }}}
    42 
    43 and the resulting wiki page's source should now contain properly formatted MathML code for display.
    44 
    45 For more information about formatting the ASCII code describing the equation, see the [http://www1.chapman.edu/~jipsen/mathml/asciimath.html ASCIIMathML documentation]. Some items might not display exactly as shown.
    46 
    4745== Recent Changes
    4846