mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-06-07 16:52:00 +00:00
add markdown-it-bracketed-spans
This commit is contained in:
parent
1b66ab044f
commit
3088e8a71d
2 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
||||||
"jquery": "^3.6.0",
|
"jquery": "^3.6.0",
|
||||||
"markdown-it": "^12.2.0",
|
"markdown-it": "^12.2.0",
|
||||||
"markdown-it-attrs": "^4.1.0",
|
"markdown-it-attrs": "^4.1.0",
|
||||||
|
"markdown-it-bracketed-spans": "^1.0.1",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"node-vibrant": "3.1.4"
|
"node-vibrant": "3.1.4"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import $ from "jquery";
|
import $ from "jquery";
|
||||||
import MarkdownIt from "markdown-it";
|
import MarkdownIt from "markdown-it";
|
||||||
import MarkdownItAttrs from "markdown-it-attrs";
|
import MarkdownItAttrs from "markdown-it-attrs";
|
||||||
|
import markdownItBracketedSpans from "markdown-it-bracketed-spans";
|
||||||
|
|
||||||
import svgUndo from "svg/undo";
|
import svgUndo from "svg/undo";
|
||||||
|
|
||||||
|
|
@ -82,6 +83,7 @@ export default class ConfigMenu {
|
||||||
typographer: true
|
typographer: true
|
||||||
});
|
});
|
||||||
this.#md.use(MarkdownItAttrs);
|
this.#md.use(MarkdownItAttrs);
|
||||||
|
this.#md.use(markdownItBracketedSpans);
|
||||||
|
|
||||||
const container = document.createElement("div");
|
const container = document.createElement("div");
|
||||||
container.id = "dribbblish-config";
|
container.id = "dribbblish-config";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue