Galileo
view release on metacpan or search on metacpan
lib/Galileo/files/public/assets/pagedown/Markdown.Converter.js view on Meta::CPAN
571572573574575576577578579580581582583584585586587588589590591
var tag = wholeMatch.replace(/(.)<\/?code>(?=.)/g,
"$1`"
);
tag = escapeCharacters(tag, wholeMatch.charAt(1) ==
"!"
?
"\\`*_/"
:
"\\`*_"
); // also escape slashes in comments to prevent autolinking there -- http://meta.stackexchange.com/questions/95987
return
tag;
});
return
text;
}
function _DoAnchors(text) {
//
// Turn Markdown
link
shortcuts into XHTML <a> tags.
//
//
// First, handle reference-style links: [
link
text] [id]
//
/*
text = text.replace(/
( // wrap whole match in $1
\[
(
( run in 0.550 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )