We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 852a847 commit ea697a1Copy full SHA for ea697a1
blocks/grammar/markdown.tsx
@@ -25,6 +25,8 @@ function rebaseRelativeUrl(href: string) {
25
// Not a valid absolute URL, treat as relative path
26
}
27
28
+ if (href.startsWith('#')) return href;
29
+
30
// Construct absolute URL using old grammar documentation as base
31
url = new URL(href, `${OLD_GRAMMAR_HOST}${OLD_GRAMMAR_PATH}`);
32
utils/mdToHtml.tsx
@@ -23,8 +23,8 @@ export function Markdown(props: MarkdownProps) {
23
options={{
24
...props.options,
overrides: {
+ ...overriddenClassNamesForTags,
...props.options?.overrides,
- ...overriddenClassNamesForTags
}}
/>;
0 commit comments