guopenghui / obsidian-quiet-outline

Improving experience of outline in Obsidian
MIT License
287 stars 17 forks source link

Consider adding ability to modify shown header text #175

Open brunoprela opened 2 months ago

brunoprela commented 2 months ago

Hello. I am using the Obsidian Creases Plugin together with Obsidian Quiet Outline. This plugin works by adding %% fold %% to the headers you want to fold (ex. # My Heading %% fold %%). I would like to be able to use this plugin but have the %% fold%% parts left out from the Obsidian Quiet Outline if possible. It is already implemented to not show on the less-nice native outline.

I think this request is reasonable and adds great functionality to this plugin. An implementation like allowing one of a regex, Templater script, JS, Python, etc. to modify the shown texts of headings without modifying the text in your file would make this plugin very powerful. For example, right now there is a plugin allows you number all of your headings, but it's so annoying because it actually changes your files. Imagine being able to use a templater script running on file open to modify the headings shown on quiet outline.

Thank you, creators, for your hard work on this app, it's a pleasure to use!