diff --git a/package.json b/package.json index a1a4dfd..274fae4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "markdown-palettes", "description": "Markdown*Palettes: Markdown editor for the modern web.", - "version": "0.4.2", + "version": "0.4.3", "author": "Luogu Dev Team", "license": "MIT", "module": "src/module.js", @@ -15,7 +15,7 @@ "analyze": "cross-env NODE_ENV=development BUNDLE_ANALYZE=true webpack --progress --hide-modules" }, "dependencies": { - "@iktakahiro/markdown-it-katex": "^3.0.3", + "@luogu-dev/markdown-it-katex": "^0.0.1", "babel-runtime": "^6.26.0", "font-awesome": "^4.7.0", "highlight.js": "^9.9.0", diff --git a/src/components/DefaultConfig.js b/src/components/DefaultConfig.js index de953d8..84895d2 100644 --- a/src/components/DefaultConfig.js +++ b/src/components/DefaultConfig.js @@ -1,4 +1,4 @@ -import KatexParser from '@iktakahiro/markdown-it-katex' +import KatexParser from '@luogu-dev/markdown-it-katex' import 'katex/dist/katex.css' import HighlightjsParser from 'markdown-it-highlightjs' import 'highlight.js/styles/tomorrow.css' diff --git a/src/components/PreviewArea.vue b/src/components/PreviewArea.vue index fe890a6..b7bcecb 100644 --- a/src/components/PreviewArea.vue +++ b/src/components/PreviewArea.vue @@ -36,7 +36,7 @@ padding: 6px 13px; } - code.mp-code { + #mp-preview-content code { font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 15px; } diff --git a/yarn.lock b/yarn.lock index 9820608..bc88e94 100644 --- a/yarn.lock +++ b/yarn.lock @@ -93,9 +93,9 @@ lodash "^4.17.5" to-fast-properties "^2.0.0" -"@iktakahiro/markdown-it-katex@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@iktakahiro/markdown-it-katex/-/markdown-it-katex-3.0.3.tgz#910287d8365c99ea857c9c45877bd97304296607" +"@luogu-dev/markdown-it-katex@^0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@luogu-dev/markdown-it-katex/-/markdown-it-katex-0.0.1.tgz#800d3c5a004af6c005ea797393b35670b5d459f2" dependencies: katex "^0.9.0"