diff --git a/package.json b/package.json index e72f2ba..295560a 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "markdown-it": "^14.1.0", "markdown-it-block-embed": "^0.0.3", "markdown-it-checkbox": "^1.1.0", - "markdown-it-footnote": "^4.0.0", "markdown-it-github-alerts": "^1.0.0", "markdown-it-iframe": "^1.0.0", "markdown-it-shikiji": "^0.10.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 495a384..5f49cde 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,9 +53,6 @@ importers: markdown-it-checkbox: specifier: ^1.1.0 version: 1.1.0 - markdown-it-footnote: - specifier: ^4.0.0 - version: 4.0.0 markdown-it-github-alerts: specifier: ^1.0.0 version: 1.0.0(markdown-it@14.1.0) @@ -3158,9 +3155,6 @@ packages: markdown-it-checkbox@1.1.0: resolution: {integrity: sha512-NkZVjnXo5G+cLNdi7DPZxICypBuxFE9F8sx3YGMZn+Cfizr8EZ/1TFUKl7ZnefF6cr1aFHbnQ5iA3rc4cp7EyA==} - markdown-it-footnote@4.0.0: - resolution: {integrity: sha512-WYJ7urf+khJYl3DqofQpYfEYkZKbmXmwxQV8c8mO/hGIhgZ1wOe7R4HLFNwqx7TjILbnC98fuyeSsin19JdFcQ==} - markdown-it-github-alerts@1.0.0: resolution: {integrity: sha512-RU3cbB/ewujrDpYNdyabvp4CscZ5J/3D71NWbJW+JSA0nplfutIXDMCwtGWlMLwzgBDAYkFMvYGkigq8nWOVdA==} peerDependencies: @@ -7424,8 +7418,6 @@ snapshots: dependencies: underscore: 1.13.6 - markdown-it-footnote@4.0.0: {} - markdown-it-github-alerts@1.0.0(markdown-it@14.1.0): dependencies: markdown-it: 14.1.0 diff --git a/src/hooks/useMarkdown.hook.ts b/src/hooks/useMarkdown.hook.ts index 63cb1f8..b3c0f69 100644 --- a/src/hooks/useMarkdown.hook.ts +++ b/src/hooks/useMarkdown.hook.ts @@ -3,7 +3,6 @@ import markdownItLatex from "@vscode/markdown-it-katex" import MarkdownIt, { Options, Renderer, Token } from "markdown-it" import blockEmbedPlugin from "markdown-it-block-embed" import markdownItCheckbox from "markdown-it-checkbox" -import markdownItFootnote from "markdown-it-footnote" import MarkdownItGitHubAlerts from "markdown-it-github-alerts" import markdownItIframe from "markdown-it-iframe" import Shikiji from "markdown-it-shikiji" @@ -67,7 +66,6 @@ const md = new MarkdownIt({ }) .use(twitterPlugin) .use(markdownItCheckbox) - .use(markdownItFootnote) .use(markdownItLatex) .use(markdownItIframe, { width: "100%", diff --git a/src/shims-vue.d.ts b/src/shims-vue.d.ts index 3c05159..d6e1b50 100644 --- a/src/shims-vue.d.ts +++ b/src/shims-vue.d.ts @@ -7,7 +7,6 @@ declare module "pouchdb-adapter-indexeddb" declare module "@toycode/markdown-it-class" declare module "markdown-it-block-embed" declare module "markdown-it-checkbox" -declare module "markdown-it-footnote" declare module "markdown-it-regexp" declare module "markdown-it-iframe" declare module "@rushstack/eslint-patch/modern-module-resolution" diff --git a/src/styles/app.css b/src/styles/app.css index f4d2ec7..32bf72a 100644 --- a/src/styles/app.css +++ b/src/styles/app.css @@ -25,7 +25,7 @@ @plugin 'daisyui' { themes: retro --default, - aqua --prefersdark; + dim --prefersdark; } @config '../../tailwind.config.js'; diff --git a/src/theme.config.ts b/src/theme.config.ts index e927a2e..d576c9a 100644 --- a/src/theme.config.ts +++ b/src/theme.config.ts @@ -3,5 +3,5 @@ export const themeConfig = { light: 'retro', - dark: 'aqua', + dark: 'dim', }