diff --git a/src/components/InlineTitle.svelte b/src/components/InlineTitle.svelte index e1378d9d2..88e5d5bdd 100644 --- a/src/components/InlineTitle.svelte +++ b/src/components/InlineTitle.svelte @@ -10,7 +10,9 @@ const { content, fontSize = "small" }: Props = $props(); function formatInlineTitle(input: string): string { - return input.replaceAll(/`([^`]+)`/g, "$1"); + return input + .replaceAll(/`([^`]+)`/g, "$1") + .replaceAll(/~~([^~~]+)~~/g, "$1"); }