Hi, does anyone knows if there is a Markdown parser already developed for FreePascal?.
Leonardo M. Ramé
http://leonardorame.blogspot.com
Mailing lists / fpc-pascal / 2011-12
Markdown parser?
5 messages · 2 people · –
- GGraeme Geldenhuys 3
- LLeonardo M. Ramé 2
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Leonardo M. Ramé wroteHi, does anyone knows if there is a Markdown parser already developed for FreePascal?.
I started a Markdown and Creole parser about a year or two ago. I'll see if I still have the code somewhere. It might be at work, which means I can only check on Monday.
Hi, does anyone knows if there is a Markdown parser already developed for FreePascal?. …
Leonardo M. Ramé wroteHi, does anyone knows if there is a Markdown parser already developed for FreePascal?.
Sorry, I looked everywhere on my work system and our server. I can't seem to find my markdown parser anywhere. That'll teach me to use SCM systems more often.
I remembered I modeled the code after a very fast Java Markdown parser. The code wasn't difficult, so it should go relatively quickly to implement a Object Pascal version again.
I did a quick Google search, here is the link to the Java MarkDown parser I based my code on.
https://github.com/rjeschke/txtmark/
You can see from the notes in that URL, it passes all the MarkDown tests, and compared to other MarkDown implementation, txtmark absolutely flies!
This is what I wanted to implement with MarkDown. An alternative GUI fpdoc content editor that uses Markdown syntax.
http://www.markdownpad.com/
Show quoted text 36 lines
Thanks Graeme, I'll take a M. Ramé
http://leonardorame.blogspot.com
Leonardo M. Ramé wroteThanks Graeme, I'll take a I couldn't be of more help. I don't know what you want to do
with a MarkDown parser, but I thought it worth mentioning the following. Another very nice alternative to MarkDown is AsciiDoc
http://www.methods.co.nz/asciidoc/
AsciiDoc is the closest text markup format to "plain text" - like you would use in emails or a README.txt file. As an example, all of the Git project's help is written in AsciiDoc format. Reading the "raw documentation source" of git, is a clear as reading a text email. :-)
