ttcMD: fixes issues where paragraphs are filtered despite being a valid parent,

Fixes a greedy rx from inline-code
This commit is contained in:
2024-03-14 00:48:00 -06:00
parent 4615f11cfa
commit 9c04f13a42
3 changed files with 6 additions and 7 deletions

View File

@@ -45,15 +45,13 @@ export const TTCMD: FC<
return (
<Suspense fallback={<Loader />}>
{
/* <button
<button
className="btn-primary"
onClick={() =>
navigator.clipboard.writeText(JSON.stringify(elements, null, 2))}
>
copy ast
</button> */
}
</button>
{hasEscapedTOC !== undefined &&
(
<TTCMDRenderer