File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { unified } from '@astrojs/markdown-remark'
12import starlight from '@astrojs/starlight'
23import { llmsPlugin } from '@hugomrdias/docs/starlight-llms'
34import { docsPlugin } from '@hugomrdias/docs/starlight-typedoc'
@@ -22,15 +23,18 @@ export default defineConfig({
2223 '/developer-guides/devnet/' : '/resources/devnet/' ,
2324 } ,
2425 markdown : {
25- rehypePlugins : [
26- [
27- rehypeExternalLinks ,
28- {
29- target : '_blank' ,
30- } ,
26+ // rehype-external-links attaches to the unified processor Starlight runs.
27+ processor : unified ( {
28+ gfm : true ,
29+ rehypePlugins : [
30+ [
31+ rehypeExternalLinks ,
32+ {
33+ target : '_blank' ,
34+ } ,
35+ ] ,
3136 ] ,
32- ] ,
33- gfm : true ,
37+ } ) ,
3438 } ,
3539 integrations : [
3640 mermaid ( {
Original file line number Diff line number Diff line change 2121 "wagmi" : " catalog:"
2222 },
2323 "devDependencies" : {
24+ "@astrojs/markdown-remark" : " 7.2.1" ,
2425 "@astrojs/starlight" : " 0.41.3" ,
2526 "@hugomrdias/docs" : " 0.2.0" ,
2627 "@types/react" : " catalog:" ,
You can’t perform that action at this time.
0 commit comments