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