This is still a work-in-progress. Only about 80% of the system works currently.
MarkedUp is an altered version of the Markdown markup language by John Gruber. While MarkedUp adds a few new things, it also loses a couple of the less-used Markdown features.
Included in this library are HTML-to-Markdown and Markdown-to-HTML converters.
MarkedUp works with the assumption that there is a blank line between each block of content in your text. In other words, your text should look normal with proper spacing.
Tables are constructed by placeing "|" at the beginging of each line of the table.
| Column One | Column Two | Column Three
|------------|------------|--------------
| 2344 | 764 | 3545
| 1285 | 12 | 92
| 17 | 764 | 3545
| 333 | 466 | 100
Each table must include a header, line separater, and body rows.
Column One | Column Two | Column Three |
---|---|---|
2344 | 764 | 3545 |
1285 | 12 | 92 |
17 | 764 | 3545 |
333 | 466 | 100 |
...
Why do this again? I wanted a Markdown implementation that supports tables and code highlighting. I also wanted one that was at least several times faster than all the current implementations so it could actually be used on a production server.
Open Source under the MIT License.