@@ -87,7 +87,7 @@ export function buildLibraryCategoriesMarkdown(
87
87
let markdown = ""
88
88
if ( libraryCategoryName in libraryCategories ) {
89
89
markdown += `### ${ libraryCategoryName } \n`
90
- const libraries = libraryCategories [ libraryCategoryName ]
90
+ const libraries = libraryCategories [ libraryCategoryName as any ]
91
91
markdown += buildLibraryListMarkdown ( libraries )
92
92
markdown += "\n"
93
93
}
@@ -112,10 +112,10 @@ export function buildLanguagesContent(pageContext: any) {
112
112
"Tools"
113
113
)
114
114
}
115
- return < Marked > { markdown } </ Marked >
115
+ return < Marked pageContext = { pageContext } > { markdown } </ Marked >
116
116
}
117
117
118
- export default ( { pageContext } ) => {
118
+ export default ( { pageContext } : any ) => {
119
119
return (
120
120
< Layout title = "Code" className = "code" pageContext = { pageContext } >
121
121
< div className = "code-hero" >
@@ -155,7 +155,7 @@ export default ({ pageContext }) => {
155
155
</ a >
156
156
</ div >
157
157
</ div >
158
- < Marked > { `
158
+ < Marked pageContext = { pageContext } > { `
159
159
## Languages
160
160
` } </ Marked >
161
161
< p >
@@ -167,19 +167,19 @@ export default ({ pageContext }) => {
167
167
{ buildLanguagesMenu ( pageContext ) }
168
168
169
169
{ buildLanguagesContent ( pageContext ) }
170
- < Marked >
170
+ < Marked pageContext = { pageContext } >
171
171
{ `
172
172
## Tools
173
173
${ buildLibraryListMarkdown ( pageContext . codeData . Tools ) }
174
174
` }
175
175
</ Marked >
176
- < Marked >
176
+ < Marked pageContext = { pageContext } >
177
177
{ `
178
178
## Services
179
179
${ buildLibraryListMarkdown ( pageContext . codeData . Services ) }
180
180
` }
181
181
</ Marked >
182
- < Marked >
182
+ < Marked pageContext = { pageContext } >
183
183
{ `
184
184
## More Stuff
185
185
${ buildLibraryListMarkdown ( pageContext . codeData [ "More Stuff" ] ) }
0 commit comments