diff --git a/package.json b/package.json index f215873..27e92cd 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "jquery": "^3.6.0", "markdown-it": "^12.2.0", "markdown-it-attrs": "^4.1.0", - "markdown-it-bracketed-spans": "^1.0.1", "moment": "^2.29.1", "node-vibrant": "^3.1.6", "svgson": "^5.2.1" diff --git a/src/js/Util.js b/src/js/Util.js index 4fdb087..99b58af 100644 --- a/src/js/Util.js +++ b/src/js/Util.js @@ -1,6 +1,5 @@ import MarkdownIt from "markdown-it"; import MarkdownItAttrs from "markdown-it-attrs"; -import MarkdownItBracketedSpans from "markdown-it-bracketed-spans"; /** * @callback waitForElCb @@ -43,13 +42,12 @@ export function getClosestToNum(arr, num) { } export function renderMD(src, env) { - const md = MarkdownIt({ + const md = MarkdownIt("commonmark", { html: true, breaks: true, linkify: true, typographer: true }); - md.use(MarkdownItBracketedSpans); md.use(MarkdownItAttrs); return md.render(src, env); diff --git a/src/js/main.js b/src/js/main.js index b85c56c..d4eb77d 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -175,7 +175,7 @@ Dribbblish.on("ready", () => { name: "Progress Transition", description: ` Have the player progress bar transition smoothly. - Turn this off if you're noticing high CPU utilization [(see)](https://github.com/JulienMaille/dribbblish-dynamic-theme/issues/118){.muted} + *Turn this off if you're noticing high CPU utilization [(see)](https://github.com/JulienMaille/dribbblish-dynamic-theme/issues/118)*{.muted} `, defaultValue: true, onChange: (val) => $("#main").attr("playbar-transition", val ? "" : null)