File tree Expand file tree Collapse file tree 3 files changed +12
-18
lines changed Expand file tree Collapse file tree 3 files changed +12
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ import remarkTorchLight from "remark-torchlight";
55import remarkRehype from "remark-rehype" ;
66import rehypeStringify from "rehype-stringify" ;
77import rehypeDocument from "rehype-document" ;
8- import { composeConfigs } from "../remark/remark-compose-configs.js" ;
9- import specsConfig from "./.remarkrc-specs.js" ;
8+ import specsPreset from "./.remarkrc-specs.js" ;
109
1110
1211dotenv . config ( ) ;
1312
14- export default composeConfigs ( specsConfig , {
13+ export default {
1514 plugins : [
15+ specsPreset ,
1616 remarkTorchLight ,
1717 remarkRehype ,
1818 [ rehypeDocument , {
@@ -26,4 +26,4 @@ export default composeConfigs(specsConfig, {
2626 }
2727 }
2828 ]
29- } ) ;
29+ } ;
Original file line number Diff line number Diff line change 1- import { composeConfigs } from "../remark/remark-compose-configs.js" ;
2- import specConfig from "./.remarkrc-specs.js" ;
3- import lintConfig from "../.remarkrc-lint.js" ;
1+ import specPreset from "./.remarkrc-specs.js" ;
2+ import lintPreset from "../.remarkrc-lint.js" ;
43
54
6- export default composeConfigs ( specConfig , lintConfig ) ;
5+ export default {
6+ plugins : [
7+ specPreset ,
8+ lintPreset
9+ ]
10+ } ;
You can’t perform that action at this time.
0 commit comments