No description
Find a file
2023-08-20 17:17:18 +01:00
src Close #2 for wrong tabbing 2023-08-20 17:01:44 +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
.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 1.1.0 2023-08-20 17:06:05 +01:00
package-lock.json 1.1.0 2023-08-20 17:06:05 +01:00
package.json 1.1.0 2023-08-20 17:06:05 +01: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.0 2023-08-20 17:06:05 +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;