[#14] add initial github-flavored extension
simply handles strike-through for now.
This commit is contained in:
parent
60c6eec3eb
commit
d6d7f807ea
7 changed files with 40 additions and 4 deletions
5
compressed/extensions/github.js
Normal file
5
compressed/extensions/github.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
//
|
||||
// Github Extension (WIP)
|
||||
// ~~strike-through~~ -> <del>strike-through</del>
|
||||
//
|
||||
(function(){var a=function(a){return[{type:"lang",regex:"(~T){2}([^~]+)(~T){2}",replace:function(a,b,c,d){return"<del>"+c+"</del>"}}]};typeof window!="undefined"&&window.Showdown&&window.Showdown.extensions&&(window.Showdown.extensions.github=a),typeof module!="undefined"&&(module.exports=a)})();
|
Loading…
Add table
Add a link
Reference in a new issue