You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Snippets/TOC Version 1/README.md
+19-6Lines changed: 19 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,27 @@
1
-
# Obsidian: Table of Contents: Version 1
2
-
This snippet requires a copy of [Obsidian.md](obsidian.md/)
1
+
<divalign="center">
2
+
<h1>📃 Table of Contents: Version 1 📃</h1>
3
3
<br />
4
-
This snippet requires the [Dataview Plugin](https://github.com/blacksmithgu/obsidian-dataview).
4
+
<p>A dataview script which displays a table of contents. It compiles a list of all your folder's current subpages and pulls the headers from each page to display in a simple and neat list.</p>
5
+
5
6
<br />
6
-
This snippet requires the [Folder Notes Plugin](https://github.com/LostPaul/obsidian-folder-notes).
7
7
8
-
<br /><br />
8
+
> [!NOTE]
9
+
> Need a table of contents snippet which does **not** require the [Folder Notes Plugin](https://github.com/LostPaul/obsidian-folder-notes)?
10
+
>
11
+
> Click here to install [Table of Contents: Version 2](https://github.com/Aetherinox/obsidian-dataview-snippets/tree/main/Snippets/TOC%20Version%202)
12
+
13
+
<br />
14
+
15
+
</div>
16
+
17
+
<br />
9
18
10
19
## About
11
-
The `Table of Contents: Version 1` snippet displays a table of contents. It compiles a list of all your folder's current subpages and pulls the headers from each page to display in a simple and neat list.
Copy file name to clipboardExpand all lines: Snippets/TOC Version 2/README.md
+28-14Lines changed: 28 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,26 @@
1
-
# Obsidian: Table of Contents: Version 2
2
-
This snippet requires a copy of [Obsidian.md](obsidian.md/)
1
+
<divalign="center">
2
+
<h1>📃 Table of Contents: Version 2 📃</h1>
3
3
<br />
4
-
This snippet requires the [Dataview Plugin](https://github.com/blacksmithgu/obsidian-dataview).
4
+
<p>A dataview script which displays a table of contents. The code within this page should be pasted at the top of your Obsidian note which contains headers and subheaders. It will populate a list of all the headers and show them in a list.</p>
5
5
6
-
<br /><br />
6
+
<br />
7
+
8
+
> [!NOTE]
9
+
> Want a table of contents which is compatible with the [Folder Notes Plugin](https://github.com/LostPaul/obsidian-folder-notes)?
10
+
>
11
+
> Click here to install [Table of Contents: Version 1](https://github.com/Aetherinox/obsidian-dataview-snippets/tree/main/Snippets/TOC%20Version%201)
12
+
13
+
<br />
14
+
15
+
</div>
16
+
17
+
<br />
7
18
8
19
## About
9
-
The `Table of Contents: Version 2` snippet displays a table of contents. It compiles a list of all your folder's current subpages and pulls the headers from each page to display in a simple and neat list.
0 commit comments