File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11import { themes as prismThemes } from "prism-react-renderer" ;
2+ import remarkGithubAdmonitions from "remark-github-admonitions-to-directives" ;
23
34/** @type {import('@docusaurus/types').Config } */
45const config = {
@@ -26,11 +27,13 @@ const config = {
2627 {
2728 docs : {
2829 routeBasePath : "docs" ,
29- sidebarPath : "./sidebars.js"
30+ sidebarPath : "./sidebars.js" ,
31+ remarkPlugins : [ remarkGithubAdmonitions ] ,
3032 } ,
3133 blog : {
3234 routeBasePath : "blog" ,
33- showReadingTime : false
35+ showReadingTime : false ,
36+ remarkPlugins : [ remarkGithubAdmonitions ] ,
3437 } ,
3538 theme : {
3639 customCss : "./src/css/custom.css"
Original file line number Diff line number Diff line change 1313 "@mdx-js/react" : " ^3.0.1" ,
1414 "react" : " ^18.2.0" ,
1515 "react-dom" : " ^18.2.0"
16+ },
17+ "devDependencies" : {
18+ "remark-github-admonitions-to-directives" : " ^2.1.0"
1619 }
1720}
You can’t perform that action at this time.
0 commit comments