zotero-mdnotes icon indicating copy to clipboard operation
zotero-mdnotes copied to clipboard

Allow choice of character to replace space

Open Jmuccigr opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Not a problem as much as a preference. Right now spaces in various places (e.g., tags) get converted to dashes when "remove_spaces" is true.

Describe the solution you'd like

I'd like the option of choosing which character the space gets replaced by. I prefer an underscore, but I can't set that - which is perhaps ironic, given its use in mdnotes' own preferences. :-)

Jmuccigr avatar May 30 '21 17:05 Jmuccigr

Something like

extensions.mdnotes.tags.remove_spaces = "true"
extensions.mdnotes.tags.replace_space_by = "-"

will be great. Thanks.

Or maybe easier, just allowing to pass "replace_space_by"="_" to the custom formatter.

astroHaoPeng avatar Apr 15 '22 18:04 astroHaoPeng