Update to PegDown markdown processor
We’re currently using an old markdown processor (MarkdownJ dated 2008).
MarkdownJ is slow in processing indented code blocks.
Just tested PegDown, which is a lot, I mean a lot faster! Probably going to switch to this markdown processor.
Submitted by Elmer van Chastelet on 11 May 2013 at 15:24
Issue Log
On 11 May 2013 at 15:24 Elmer van Chastelet tagged @elmer
On 12 May 2013 at 16:43 Elmer van Chastelet commented:
Added in r5693.
Most important changes
- PegDown is used with all extensions enabled (see https://github.com/sirthias/pegdown#introduction)
- Important change for existing WikiText’s:
- New lines are now interpreted as new lines (github style) and not wrapped into a paragraph
- Auto-link, a bare url will now automatically become a link
- E-lib:
org.webdsl.tools.RelaxedWikiFormatter.java
not needed anymore, please update references toorg.webdsl.tools.WikiFormatter.wikiFormatNoTagFiltering
Markdown help?
- Nice cheat sheet
- Wikilinks in WebDSL:
WikiLink ---------------------------------Resulting Url--------------------------------- Resulting Text [[..subPage]]
http://rooturl/..subPage ..subPage [[..subPage|text]]
http://rooturl/..subPage text [[..subPage(some arguments)]]
http://rooturl/..subPage/some+arguments some arguments [[..subPage(some arguments)|text]]
http://rooturl/..subPage/some+arguments text [[..subPage(anotherSub/some arguments)|text]]
http://rooturl/..subPage/anotherSub/some+arguments text
On 12 May 2013 at 16:43 Elmer van Chastelet closed this issue.
Log in to post comments