No description
Find a file
2023-12-30 20:21:14 +00:00
.github/workflows Add release workflow 2023-12-24 09:20:29 +00:00
src Remove extra space in list link 2023-08-20 17:22:53 +01:00
.editorconfig Initial commit 2023-08-19 09:06:12 +01:00
.eslintignore Initial commit 2023-08-19 09:06:12 +01:00
.eslintrc Initial commit 2023-08-19 09:06:12 +01:00
.gitignore Initial commit 2023-08-19 09:06:12 +01:00
.mocharc.json Add testing packages 2023-12-30 20:21:14 +00:00
.npmrc Initial commit 2023-08-19 09:06:12 +01:00
esbuild.config.mjs Fix build issues 2023-08-19 17:20:36 +01:00
LICENSE Add license 2023-08-20 17:17:18 +01:00
manifest.json Update author url 2023-12-24 16:58:52 +00:00
package-lock.json Add testing packages 2023-12-30 20:21:14 +00:00
package.json Add testing packages 2023-12-30 20:21:14 +00:00
README.md Update readme 2023-08-20 17:13:36 +01:00
styles.css Initial commit 2023-08-19 09:06:12 +01:00
tsconfig.json Fix build issues 2023-08-19 17:20:36 +01:00
version-bump.mjs Initial commit 2023-08-19 09:06:12 +01:00
versions.json 1.1.1 2023-08-21 18:04:49 +01:00

Potato Indexer

If you've every needed an easy way to generate content indexes for your note or for a sub-section of your note, then you're in luck!

With this super simple plugin all you have to do is open the command palette, Ctrl(on MacOS CMD) + P, and search for indexer.

Two commands will show:

  • Generate index for current note
  • Generate index for selected content

Pick whichever suits your needs at that moment.

Improvements

  • Instead of replacing the whole file, try and replace just the specific sections where the index is or is to be inserted;
  • When generating the tabs, do it based on how many titles there are. If I select a h2 title and h3 it will have two tabs instead of 1 and 2;