add github markdown css

This commit is contained in:
Jeffrey Hsu 2024-12-02 19:58:58 +08:00
parent de1701ad99
commit 5de45341a9
3 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,7 @@ export default defineNuxtConfig({
components: true,
css: [
'@fortawesome/fontawesome-svg-core/styles.css',
'github-markdown-css/github-markdown.css',
'~/assets/css/main.scss'
],
postcss: {

View File

@ -20,6 +20,7 @@
"@pinia-plugin-persistedstate/nuxt": "^1.2.1",
"@pinia/nuxt": "^0.7.0",
"axios": "^1.7.7",
"github-markdown-css": "^5.8.1",
"markdown-it": "^14.1.0",
"markdown-it-latex2img": "^0.0.6",
"mitt": "^3.0.1",

View File

@ -2862,6 +2862,11 @@ github-from-package@0.0.0:
resolved "https://registry.npmmirror.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce"
integrity sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==
github-markdown-css@^5.8.1:
version "5.8.1"
resolved "https://registry.npmmirror.com/github-markdown-css/-/github-markdown-css-5.8.1.tgz#2a53cf17f0c9bde5ff9e83710a3310a02f5278a7"
integrity sha512-8G+PFvqigBQSWLQjyzgpa2ThD9bo7+kDsriUIidGcRhXgmcaAWUIpCZf8DavJgc+xifjbCG+GvMyWr0XMXmc7g==
glob-parent@^5.1.2, glob-parent@~5.1.2:
version "5.1.2"
resolved "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"