MarkDown provides a simple way to write in plaintext, that can easily be translated into HTML. The syntax provides support for headers, paragraphs, images, links, emphasis, and more. It really makes it easy to write content without worrying about tags or formatting.
One of the most painful, and tedious things to do on a computer is enter mathematical formulas and functions. Until now, if you wanted to enter equations into a computer interface, you were forced to use MS Word's terrible equation editor, or HTML and do all of the span elements manually. MarkDown can make it easy. I believe that adding a simple extension to MarkDown will make this time-consuming and fairly arduous task a lot easier and bring mathematics into the folds of the computing era.
The Proposed Syntax
The syntax for entering an equation into MarkDown syntax you enter the equations between a curly-brace followed immediately by a colon.
{: Anything entered here is treated as an equation :}
Even Multi-Line equations
{:
(2x^2) = 54
x=2+34y^2
:}
The above equations would become:
Inside the equation delimiters (an I will call them) text and characters are treated as mathematical expressions, not as text. Examples: ^ (carats) are parsed to subscripts; x/y (forward slashes) are converted to a vertical division symbol; * (asterisks) are parsed as multiplication; etc.
Special symbols like greek letters, and integrals (essential in math intensive fields) will use TeX-like erms.
Note: Symbols like \int (which makes an integral) will only work inside the equation delimiters.
{:
Y(x) = \int:4,8\ 2x dx
:}
Would become:
The Goal is not to remake LaTeX
The goal of MarkDown is to make writing simple things easier, and to cut away distractions. It doesn't cover everything nor should it. Similarly, this MarkDown extension will not be a remake of LaTeX, it will not cover every symbol in mathematics. Instead it will be a way to easily write the most common mathematical symbols (fractions, greek letters, integrals, and functions).
Note: Some others have written on this subject and it seems to be a limitation in HTML that holds this idea back since HTML has no way to display a lot of elements in mathematics. This could probably be worked around by keeping the symbol library relatively small and limited to standard font characters.
"
Other Links: RSS Feed, JSON Feed, Status Page →