File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -248,11 +248,26 @@ const config = {
248
248
markdown : {
249
249
mermaid : true ,
250
250
format : 'mdx' ,
251
+ hooks : {
252
+ onBrokenMarkdownLinks : 'throw' ,
253
+ onBrokenMarkdownImages : 'throw' ,
254
+ } ,
251
255
mdx1Compat : { //set to false for Docusaurus v3+ compatibility
252
256
comments : false ,
253
257
admonitions : false ,
254
258
headingIds : false
255
- }
259
+ } ,
260
+ parseFrontMatter : async ( params ) => {
261
+ const result = await params . defaultParseFrontMatter ( params ) ;
262
+ // result.frontMatter.description =
263
+ // result.frontMatter.description?.replaceAll('{{MY_VAR}}', 'MY_VALUE');
264
+ return result ;
265
+ } ,
266
+ emoji : true ,
267
+ remarkRehypeOptions : { } ,
268
+ anchors : {
269
+ maintainCase : false ,
270
+ } ,
256
271
} ,
257
272
} ;
258
273
You can’t perform that action at this time.
0 commit comments