We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dce22c5 commit e987a37Copy full SHA for e987a37
1 file changed
src/layouts/ReferenceItemLayout.astro
@@ -145,14 +145,7 @@ const descriptionParts = description.split(
145
const langMatch = /<code class="language-(\w+)[^"]*">/.exec(part);
146
const lang = langMatch ? langMatch[1] : undefined;
147
return (
148
- <Code code={code} lang={lang} theme="github-light" />
149
- )
150
- const html = descriptionPartRenderedCode[i];
151
- return (
152
- <div
153
- set:html={html}
154
- class="[&_a]:text-type-magenta-dark [&_a]:!decoration-type-magenta-dark mb-xl reference-item rendered-markdown"
155
- />
+ <Code code={code} lang={lang as any} theme="github-light" />
156
);
157
} else {
158
0 commit comments