omnivore-app / obsidian-omnivore

Obsidian plugin to fetch articles and highlights from Omnivore
MIT License
842 stars 83 forks source link

Spaces in label names are converted to underscores #141

Open T1CkShot opened 1 year ago

T1CkShot commented 1 year ago

When there are spaces in the label name, say "Some Label" it gets converted to "Some_Label" upon export. I assume it is for use as #tag as they don't support spaces. But I use the labels as back links to other note. E.g. [[Some Label]] at the end of the import. Is there a way to not turn the spaces in the labels into underscores?

frasercrichton commented 3 months ago

+1 for this please. Seen a few people asking for this on Discord.

frasercrichton commented 3 months ago

So adding a rawLabels here without the underscore would enable this:

https://github.com/omnivore-app/obsidian-omnivore/blob/619013b8d659a958d7d4f47cff9172788436276f/src/settings/template.ts#L267

Happy to do this if you are happy for me to.

margybee commented 2 months ago

I do the same thing with labels and would love a feature that leaves the spaces.