johansatge / obsidian-automatic-table-of-contents

💠 An Obsidian plugin to create a table of contents in a note, that updates itself when the note changes
MIT License
128 stars 12 forks source link

Feature request: manually update option #22

Open HNO333333 opened 9 months ago

HNO333333 commented 9 months ago

Update automatically is convenient, but when my markdown note gets larger, this function will affect the performance of the whole Obsidian application. Hope to give the control of updating ToC to users! Thank you!!

johansatge commented 6 months ago

Hello, is this a hypothetical situation, or did you already run into that issue? If you did, could you please share a markdown example?

HNO333333 commented 6 months ago

Thank you for asking! Here's the situation that I was editing a large markdown file with many levels of headings. And once I activate this plugin, the whole Obsidian became laggy. And I guess the plugin running automatically check and update has some influence on performance of Obsidian, that's why I mention this feature.

GitUser520 commented 1 month ago

+1 for this feature. The speed-down is noticeable when editing a file with

The speed-down disappears when the plugin is disabled, so I assume that its some part of the plugin that's causing the speed-down. I'm also noticing that there is speedup once I close other tabs which include in total ~1200 headers, ~10000 words, ~60000 characters so I assume there is some background process that is interacting with the plugin.