2
0

github.js 385 B

12345
  1. //
  2. // Github Extension (WIP)
  3. // ~~strike-through~~ -> <del>strike-through</del>
  4. //
  5. (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)})();