File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import math from "remark-math";
3
3
import katex from "rehype-katex" ;
4
4
import chHeader from "./plugins/header.js" ;
5
5
import fixLinks from "./src/hooks/fixLinks.js" ;
6
+ const remarkCustomBlocks = require ( './plugins/remark-custom-blocks' ) ;
6
7
7
8
// Helper function to skip over index.md files.
8
9
function skipIndex ( items ) {
@@ -128,7 +129,7 @@ const config = {
128
129
showLastUpdateTime : false ,
129
130
sidebarCollapsed : true ,
130
131
routeBasePath : "/" ,
131
- remarkPlugins : [ math ] ,
132
+ remarkPlugins : [ math , remarkCustomBlocks ] ,
132
133
beforeDefaultRemarkPlugins : [ fixLinks ] ,
133
134
rehypePlugins : [ katex ] ,
134
135
} ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import math from "remark-math";
3
3
import katex from "rehype-katex" ;
4
4
import chHeader from "./plugins/header.js" ;
5
5
import fixLinks from "./src/hooks/fixLinks.js" ;
6
+ const remarkCustomBlocks = require ( './plugins/remark-custom-blocks' ) ;
6
7
7
8
// Helper function to skip over index.md files.
8
9
function skipIndex ( items ) {
@@ -128,7 +129,7 @@ const config = {
128
129
showLastUpdateTime : false ,
129
130
sidebarCollapsed : true ,
130
131
routeBasePath : "/" ,
131
- remarkPlugins : [ math ] ,
132
+ remarkPlugins : [ math , remarkCustomBlocks ] ,
132
133
beforeDefaultRemarkPlugins : [ fixLinks ] ,
133
134
rehypePlugins : [ katex ] ,
134
135
} ,
You can’t perform that action at this time.
0 commit comments