File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
apps/svelte.dev/src/routes/docs/[...path]
packages/site-kit/src/lib/markdown Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 31
31
32
32
.page :global(:where(h2 , h3 ) code ) {
33
33
all : unset ;
34
+ font-family : var (--sk-font-mono );
34
35
}
35
36
36
37
@media (min-width : 832px ) {
Original file line number Diff line number Diff line change @@ -269,10 +269,7 @@ export async function render_content_markdown(
269
269
headings [ depth - 1 ] = slugify ( raw ) ;
270
270
headings . length = depth ;
271
271
const slug = headings . filter ( Boolean ) . join ( '-' ) ;
272
- return `<h${ depth } id="${ slug } ">${ text . replace (
273
- / < \/ ? c o d e > / g,
274
- ''
275
- ) } <a href="#${ slug } " class="permalink"><span class="visually-hidden">permalink</span></a></h${ depth } >`;
272
+ return `<h${ depth } id="${ slug } ">${ text } <a href="#${ slug } " class="permalink"><span class="visually-hidden">permalink</span></a></h${ depth } >` ;
276
273
} ,
277
274
code ( { text } ) {
278
275
return snippets . get ( text ) ;
You can’t perform that action at this time.
0 commit comments