grmartin_obsidian-toc-block.../styles.css
Glenn R. Martin ac2d1a595a Initial commit: TOC Block plugin
Bootstraps from the official Obsidian sample plugin template and implements Typora-style [TOC] tag rendering: configurable marker/regex detection, per-mode display (links/hidden) across Live Preview, Reading View, and PDF export, insert command + context menu item, adn live sync with the metadata cache as headings change.
2026-07-18 15:06:53 -04:00

21 lines
375 B
CSS

.toc-block-hidden {
display: none;
}
.toc-block-placeholder {
padding: var(--size-4-2) var(--size-4-3);
border: 1px solid var(--background-modifier-border);
border-radius: var(--radius-s);
color: var(--text-muted);
font-style: italic;
}
.toc-block-empty {
color: var(--text-muted);
font-style: italic;
}
.toc-block-list,
.toc-block-live-preview ul {
margin: 0;
}