Skip to content

Commit

Permalink
Updated Markdown Tag - GitHub 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
MarketingPip authored Aug 30, 2022
1 parent 79aa870 commit 7d1fc7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion markdown-tag-GitHub.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ function addSyntaxHighlightCss(fileName) {
if (document.getElementsByTagName("md").length > 0) {


addSyntaxHighlighter();

if (Debug == true){
console.log("Found <MD> tags- converting to HTML ")
}
Expand Down Expand Up @@ -87,7 +89,8 @@ MD_TAG[i].innerHTML = converter.makeHtml(MD_TAG[i].innerHTML)

if (document.getElementsByTagName("github-md").length > 0) {

addCss('https://cdn.jsdelivr.net/gh/MarketingPipeline/Markdown-Elements/stylesheets/github_md.css'); addSyntaxHighlightCss('https://cdn.jsdelivr.net/gh/PrismJS/prism-themes/themes/prism-ghcolors.css');
addCss('https://cdn.jsdelivr.net/gh/MarketingPipeline/Markdown-Elements/stylesheets/github_md.css');
addSyntaxHighlightCss('https://cdn.jsdelivr.net/gh/PrismJS/prism-themes/themes/prism-ghcolors.css');

addSyntaxHighlighter();

Expand Down

0 comments on commit 7d1fc7f

Please sign in to comment.