Skip to content

Commit

Permalink
chore: remove kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun-ZhenXing committed May 6, 2024
1 parent 0b1fd22 commit 3bdf141
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 638 deletions.
15 changes: 7 additions & 8 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"recommendations": [
"yzhang.markdown-all-in-one",
"vstirbu.vscode-mermaid-preview",
"bpruitt-goddard.mermaid-markdown-syntax-highlighting",
"bierner.markdown-mermaid",
"DavidAnson.vscode-markdownlint"
]
{
"recommendations": [
"yzhang.markdown-all-in-one",
"vstirbu.vscode-mermaid-preview",
"bpruitt-goddard.mermaid-markdown-syntax-highlighting",
"bierner.markdown-mermaid"
]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vuepress-frontend-notes",
"type": "module",
"version": "1.0.0",
"packageManager": "pnpm@9.0.6",
"packageManager": "pnpm@9.1.0",
"description": "Vuepress Frontend Notes",
"author": "Alex",
"license": "ISC",
Expand Down Expand Up @@ -35,6 +35,7 @@
"@types/node": "^20.12.8",
"@vuepress/bundler-vite": "2.0.0-rc.9",
"@vuepress/plugin-docsearch": "2.0.0-rc.26",
"@vuepress/plugin-shiki": "2.0.0-rc.25",
"echarts": "^5.5.0",
"eslint": "^8.57.0",
"eslint-plugin-markdownlint": "^0.5.0",
Expand Down
25 changes: 25 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { viteBundler } from '@vuepress/bundler-vite'
import { slug as slugify } from 'github-slugger'
import { defineUserConfig } from 'vuepress'
import { getDirname, path } from 'vuepress/utils'
import { shikiPlugin } from '@vuepress/plugin-shiki'

import theme from './theme'
import { config } from '../../config'
Expand Down Expand Up @@ -33,14 +34,19 @@ export default defineUserConfig({
slugify,
},
code: {
lineNumbers: 10,
lineNumbers: false,
},
importCode: {
handleImportPath: str => str
.replace(/^\//, ROOT_PATH.replace(/(?:|\\|\/)$/, '/'))
.replace(/^@\//, CURRENT_PATH.replace(/(?:|\\|\/)$/, '/')),
},
},
plugins: [
shikiPlugin({
theme: 'dark-plus',
}),
],
theme,
title: config.title,
})
2 changes: 2 additions & 0 deletions src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ export default hopeTheme({
markmap: true,
// Mermaid
mermaid: true,
// PlantUML
plantuml: true,
// 幻灯片
revealJs: true,
// 风格化
Expand Down
112 changes: 0 additions & 112 deletions src/android/kotlin/chapter01/index.md

This file was deleted.

Loading

0 comments on commit 3bdf141

Please sign in to comment.