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 11---
22import StarlightPage from ' @astrojs/starlight/components/StarlightPage.astro' ;
33import { getCollection } from ' astro:content' ;
4+ import { marked } from ' marked' ;
45
56export async function getStaticPaths() {
67 const elements = await getCollection (' elements' );
@@ -17,5 +18,6 @@ const { element } = Astro.props;
1718 title: element .data .name ,
1819 tableOfContents: false ,
1920}} >
20- <p >TODO</ p >
21+ <Fragment set:html = { marked ( element . data . description ) } / >
2122</StarlightPage >
23+
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const funcPair = funcInfo.pair;
3030 <p ><strong >Type:</strong > <span class ={ " side-" + funcType } >{ funcTypePretty } </span ></p >
3131
3232 { funcPair && (
33- <p >Pair: <a href = { funcPair } >{ funcPair } </a ></p >
33+ <p >< strong > Pair:</ strong > <a href = { funcPair } >{ funcPair } </a ></p >
3434 )}
3535
3636 <!-- Description -->
You can’t perform that action at this time.
0 commit comments