diff --git a/package-lock.json b/package-lock.json index 6ebac9281..f54c4ed99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,6 @@ "license": "Apache-2.0", "devDependencies": { "@vuepress/bundler-vite": "2.0.0-rc.19", - "@vuepress/plugin-markdown-image": "2.0.0-rc.66", - "@vuepress/plugin-markdown-tab": "2.0.0-rc.66", "cypress": "^13.16.1", "cypress-each": "^1.14.0", "flowchart.ts": "^3.0.1", @@ -6791,9 +6789,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -14437,9 +14435,9 @@ "dev": true }, "nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true }, "node-addon-api": { diff --git a/package.json b/package.json index 9bfe8a4cf..9dd8599a0 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,6 @@ }, "devDependencies": { "@vuepress/bundler-vite": "2.0.0-rc.19", - "@vuepress/plugin-markdown-image": "2.0.0-rc.66", - "@vuepress/plugin-markdown-tab": "2.0.0-rc.66", "cypress": "^13.16.1", "cypress-each": "^1.14.0", "flowchart.ts": "^3.0.1", diff --git a/src/.vuepress/theme.ts b/src/.vuepress/theme.ts index 5d97abf0d..45a713637 100644 --- a/src/.vuepress/theme.ts +++ b/src/.vuepress/theme.ts @@ -25,6 +25,42 @@ export default hopeTheme({ }, }, + markdown: { + align: true, + attrs: true, + codeTabs: true, + component: true, + demo: true, + figure: true, + flowchart: true, + gfm: true, + imgLazyload: true, + imgSize: true, + include: true, + mark: true, + mermaid: true, + playground: { + presets: ["ts", "vue"], + }, + stylize: [ + { + matcher: "Recommended", + replacer: ({ tag }) => { + if (tag === "em") + return { + tag: "Badge", + attrs: { type: "tip" }, + content: "Recommended", + }; + }, + }, + ], + sub: true, + sup: true, + tabs: true, + vPre: true, + }, + metaLocales: { editLink: "Edit this page on GitHub", }, @@ -44,65 +80,6 @@ export default hopeTheme({ components: ["Badge", "VPCard"], }, - markdownImage: { - figure: true, - imgLazyload: true, - imgSize: true, - }, - - markdownTab: { - codeTabs: true, - tabs: true, - }, - - // All features are enabled for demo, only preserve features you need here - mdEnhance: { - align: true, - attrs: true, - // install chart.js before enabling it - // chart: true, - component: true, - demo: true, - // install echarts before enabling it - // echarts: true, - // install flowchart.ts before enabling it - flowchart: true, - gfm: true, - include: true, - // install katex before enabling it - // katex: true, - // install mathjax-full before enabling it - // mathjax: true, - mark: true, - mermaid: true, - // plantuml: true, - playground: { - presets: ["ts", "vue"], - }, - // install sandpack-vue3 before enabling it - // sandpack: true, - // spoiler: true, - stylize: [ - { - matcher: "Recommended", - replacer: ({ tag }) => { - if (tag === "em") - return { - tag: "Badge", - attrs: { type: "tip" }, - content: "Recommended", - }; - }, - }, - ], - sub: true, - sup: true, - // tasklist: true, - vPre: true, - // install @vue/repl before enabling it - // vuePlayground: true, - }, - // install reveal.js before enabling it // revealjs: { // plugins: ["highlight", "math", "search", "notes", "zoom"], diff --git a/src/courses/beginner/11.md b/src/courses/beginner/11.md index c59b0339f..5dcf9f592 100644 --- a/src/courses/beginner/11.md +++ b/src/courses/beginner/11.md @@ -64,7 +64,7 @@ We *really* do not want to stuck with writing all of these tags by hand. Instead First, let's discuss where all of that metadata comes from in the first place -- the baseline security guidance that we are automating using InSpec. We'll crack open a STIG XCCDF XML file to show you where the control metadata is sourced from. ::: note "XCCDF XML" file?! That's a lot of letters! -Yes, it is. Welcome to the wonderful world of government standard format names. See our glossary for more information on [XCCDF](../profile-dev-test/29.md). +Yes, it is. Welcome to the wonderful world of government standard format names. See our glossary for more information on [XCCDF](../profile-dev-test/26.md). ::: Download the latest STIG Viewer located here [STIG Viewer](https://public.cyber.mil/stigs/srg-stig-tools/). diff --git a/src/courses/delta/02.md b/src/courses/delta/02.md index e4a2de82f..c832162ac 100644 --- a/src/courses/delta/02.md +++ b/src/courses/delta/02.md @@ -25,4 +25,4 @@ This command is similar to the Chef InSpec [Initialize a new profile](../beginne ## 2.2 Glossary of Terms -For definitions of terms used within the Delta Process, refer to [Terms & Definitions](../profile-dev-test/27.md#terms--definitions). +For definitions of terms used within the Delta Process, refer to [Terms & Definitions](../profile-dev-test/26.md).