local and global graph

This commit is contained in:
Jacky Zhao 2023-06-18 10:47:07 -07:00
parent 8bfee04c8c
commit c4cf0dcb02
23 changed files with 1288 additions and 110 deletions
quartz/components

View file

@ -18,7 +18,7 @@ function TableOfContents({ fileData }: QuartzComponentProps) {
return null
}
return <>
return <div>
<button type="button" id="toc">
<h3>Table of Contents</h3>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="fold">
@ -32,7 +32,7 @@ function TableOfContents({ fileData }: QuartzComponentProps) {
</li>)}
</ul>
</div>
</>
</div>
}
TableOfContents.css = modernStyle
TableOfContents.afterDOMLoaded = script