File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { link } from 'fs' ;
22import { defineConfig } from 'vitepress'
3-
4- const containerMdExtend = require ( './detail-plugin.js' ) ;
5- const markdowinItCharts = require ( 'markdown-it-charts' ) ;
6- // import markdownItMermaid from 'markdown-it-mermaid'
3+ import markdownItContainer from 'markdown-it-container' ;
4+ import containerMdExtend from './detail-plugin.js' ;
5+ import markdowinItCharts from 'markdown-it-charts' ;
6+ import mathjax3 from 'markdown-it-mathjax3' ;
77import { withMermaid } from "vitepress-plugin-mermaid" ;
88import { head } from './ga-plugin' ;
99
@@ -19,12 +19,12 @@ export default withMermaid({
1919 // lineNumbers: true,
2020 config : ( md ) => {
2121 md . use (
22- require ( 'markdown-it-container' ) ,
22+ markdownItContainer ,
2323 'spoiler' ,
2424 containerMdExtend ( md ) ,
2525 ) ;
2626 md . use ( markdowinItCharts ) ;
27- md . use ( require ( 'markdown-it- mathjax3' ) ) ;
27+ md . use ( mathjax3 ) ;
2828 }
2929 } ,
3030 themeConfig : {
@@ -188,7 +188,7 @@ export default withMermaid({
188188 [
189189 'script' ,
190190 {
191- async : true ,
191+ async : " true" ,
192192 src : 'https://www.googletagmanager.com/gtag/js?id=G-977V87X2CQ' ,
193193 } ,
194194 ] ,
Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ const containerMdExtend = (md) => ({
1616 } ,
1717} ) ;
1818
19- module . exports = containerMdExtend ;
19+ export default containerMdExtend ;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ int main() {
3232}
3333```
3434
35- ``` text
35+ ``` txt
3636[output]
373722B
383821B
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ int main() {
53532 100001
5454```
5555
56- ``` text
56+ ``` txt
5757[Output 2]
5858机 5000 それなり
5959チョコ 100 おいしい
@@ -112,4 +112,4 @@ int main() {
112112}
113113```
114114
115- :::
115+ :::
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ int main() {
3535
3636::: spoiler 解答
3737
38- ``` text
38+ ``` txt
3939-400
4040100
4141130
Original file line number Diff line number Diff line change 1313 "license" : " MIT" ,
1414 "devDependencies" : {
1515 "@mermaid-js/mermaid-mindmap" : " ^9.3.0" ,
16- "@types/node" : " ^20.3.1 " ,
16+ "@types/node" : " ^22.15.3 " ,
1717 "@wekanteam/markdown-it-mermaid" : " ^0.6.4" ,
1818 "install" : " ^0.13.0" ,
1919 "markdown-it-charts" : " ^1.0.5" ,
20- "markdown-it-container" : " ^3 .0.0" ,
20+ "markdown-it-container" : " ^4 .0.0" ,
2121 "markdown-it-mathjax" : " ^2.0.0" ,
22- "markdown-it-mermaid" : " ^0.2.5 " ,
22+ "markdown-it-mermaid" : " ^0.2.0 " ,
2323 "markdown-it-texmath" : " ^1.0.0" ,
24- "mermaid" : " 9.1.0" ,
25- "npm" : " ^9.7.1" ,
26- "vitepress" : " 1.0.0-beta.1" ,
24+ "mermaid" : " ^11.6.0" ,
25+ "vitepress" : " 1.6.3" ,
2726 "vitepress-plugin-mermaid" : " ^2.0.10"
2827 },
2928 "dependencies" : {
30- "markdown-it" : " ^13.0.1 " ,
29+ "markdown-it" : " ^14.1.0 " ,
3130 "markdown-it-mathjax3" : " ^4.3.2"
32- }
31+ },
32+ "type" : " module"
3333}
You can’t perform that action at this time.
0 commit comments