🐛 fix: expand abbreviations in UI text for sentence case compliance

Changed "Debug TOC metadata" to "Debug table of contents metadata" and "Exclude H1 headings" to "Exclude level 1 headings" to avoid abbreviations in user-facing text per Obsidian UI guidelines.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
m-kk 2025-11-07 14:38:06 -06:00
parent df95e63ee7
commit a73b1ffa95

View file

@ -102,7 +102,7 @@ export default class TableOfContentsPlugin extends Plugin {
// Add debug command to help troubleshoot TOC issues
this.addCommand({
id: 'debug-toc-markers',
name: 'Debug TOC metadata',
name: 'Debug table of contents metadata',
callback: () => {
this.debugTOCMarkers();
}
@ -730,7 +730,7 @@ class TOCSettingTab extends PluginSettingTab {
}));
new Setting(containerEl)
.setName('Exclude H1 headings')
.setName('Exclude level 1 headings')
.setDesc('Skip level 1 headings when generating the table of contents')
.addToggle(toggle => toggle
.setValue(this.plugin.settings.excludeH1)