mirror of
https://github.com/m-kk/toc.git
synced 2026-07-22 06:44:17 +00:00
🐛 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:
parent
df95e63ee7
commit
a73b1ffa95
1 changed files with 2 additions and 2 deletions
4
main.ts
4
main.ts
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue