johansatge/obsidian-automatic-table-of-contents

Feature request: manually update option

Opened this issue · 3 comments

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!!

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

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.

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

  • 150+ headings of different levels
  • ~25000 words
  • ~150000 characters

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.