This page (revision-6) was last changed on 10-Mar-2018 13:06 by Dirk Frederickx 

This page was created on 09-Mar-2018 21:42 by Dirk Frederickx

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Version Date Modified Size Author Changes ... Change note
6 10-Mar-2018 13:06 3 KB Dirk Frederickx to previous Activate some extra settings on showdown
5 10-Mar-2018 12:52 3 KB Dirk Frederickx to previous | to last
4 09-Mar-2018 21:46 3 KB Dirk Frederickx to previous | to last
3 09-Mar-2018 21:45 3 KB Dirk Frederickx to previous | to last
2 09-Mar-2018 21:45 3 KB Dirk Frederickx to previous | to last
1 09-Mar-2018 21:42 3 KB Dirk Frederickx to last

Difference between version and

At line 13 added 2 lines
%%small
Showdown was created by John Fraser as a direct port of the original parser written by markdown's creator, John Gruber. Although Showdown has evolved since its inception, in "vanilla mode", it tries to follow the [original markdown spec|http://daringfireball.net/projects/markdown/] (henceforth refereed as vanilla) as much as possible. There are, however, a few important differences, mainly due to inconsistencies in the original spec.
At line 14 changed one line
It is based on [Javascript Markdown to HTML converter|https://github.com/showdownjs/showdown], based on the original works by John Gruber. See [Showdown Test Page] for an example rendered Showdown page.
Showdown also support "extra" syntax not defined in the original spec as opt-in features. See [Showdown's Markdown syntax|https://github.com/showdownjs/showdown/wiki/Showdown's-Markdown-syntax]
/%
It is based on [Javascript Markdown to HTML converter on GITHUB|https://github.com/showdownjs/showdown], based on the original works by John Gruber. See [Showdown Test Page] for an example rendered Showdown page.
At line 38 changed one line
This script will automatically load and invoke the showdown parser in your browser when it detects {{%~%showdown}}. It uses the GITHUB CDN at [https://cdnjs.cloudflare.com/ajax/libs/showdown/1.8.6/showdown.min.js]
This script will automatically load and invoke the showdown parser in your browser when it detects {{%~%showdown}}. It uses the CDN at [https://cdnjs.cloudflare.com/ajax/libs/showdown/1.8.6/showdown.min.js]
At line 48 changed one line
!function(a,b,c){function d(b){var c=new showdown.Converter,d="div".slick();d.innerHTML=c.makeHtml(b.textContent),d.replaces(b),d.getElements("table").addClass("table-fit table-condensed table-bordered"),d.getElements("pre > code[class|=lang] ").each(function(a){a.getParent().addClass("prettify-nonum")});var e=a.PageName.replace(/\s/g,"+");d.getElements("h1,h2,h3,h4,h5,h6").each(function(a){a.id="section-"+e+"-"+a.innerText.replace(/[^\w]+/g,""),a.grab("a.hashlink".slick({href:"#"+a.id,text:"#"}))}),d.getElements("a[href^=http://],a[href^=https://]").addClass("external"),d.getElements("a[class!=wikipage][class!=hashlink][class!=external]").each(function(b){b.href=a.toUrl(b.href.replace(/^.+\//,"").replace(/%20/g," ")),b.addClass("wikipage")}),d.getElements("img:not([src^=http://]):not([src^=https://])").each(function(b){b.src=a.BaseUrl+"/attach/"+b.src.replace(/^.+\/(.+\/)/,"$1").replace(/%20/g," "),b.addClass("inline")})}a.once(c,function(){"script".slick({src:b,events:{load:function(b){$$(c+" pre").each(d),a.update()} }}).inject(document.head)})}(Wiki,"https://cdnjs.cloudflare.com/ajax/libs/showdown/1.8.6/showdown.min.js",".showdown")
!function(a,b,c){function d(b){var c=new showdown.Converter({headerLevelStart:2,strikethrough:!0,tables:!0,tasklists:!0,emoji:!0}),d="div".slick();d.innerHTML=c.makeHtml(b.textContent),d.replaces(b),d.getElements("table").addClass("table-fit table-condensed table-bordered"),d.getElements("pre > code[class|=lang] ").each(function(a){a.getParent().addClass("prettify-nonum")});var e=a.PageName.replace(/\s/g,"+");d.getElements("h2,h3,h4,h5,h6").each(function(a){a.id="section-"+e+"-"+a.innerText.replace(/[^\w]+/g,""),a.grab("a.hashlink".slick({href:"#"+a.id,text:"#"}))}),d.getElements("a[href^=http://],a[href^=https://]").addClass("external"),d.getElements("a[class!=wikipage][class!=hashlink][class!=external]").each(function(b){b.href=a.toUrl(b.href.replace(/^.+\//,"").replace(/%20/g," ")),b.addClass("wikipage")}),d.getElements("img:not([src^=http://]):not([src^=https://])").each(function(b){b.src=a.BaseUrl+"/attach/"+b.src.replace(/^.+\/(.+\/)/,"$1").replace(/%20/g," "),b.addClass("inline")})}a.once(c,function(){"script".slick({src:b,events:{load:function(b){$$(c+" pre").each(d),a.update()} }}).inject(document.head)})}(Wiki,"https://cdnjs.cloudflare.com/ajax/libs/showdown/1.8.6/showdown.min.js",".showdown")
At line 68 changed one line
See [Category.Haddock Behavior]
See [Category.Haddock Behavior], [Markdown Behavior]