Change templates to use snake_case instead of kabob-case
Closed this issue · 0 comments
thephm commented
I realized a couple of things about my frontmatter field names, namely that using kabob-case style field names has two negative side effects:
- when you double click on them in Obsidian or VS Code, it only selects
kaboband not the entire field name - when I try to use them directly in Python using
setattr()orgetattr(), the dash-causes issues
So, for these two reasons I'm changing the templates and my code to use snake_case instead, i.e. using underscore character _ instead of dash character - to separate words in the field_names.