isaaclyman / novel-word-count-obsidian

Obsidian plugin. Displays a word count or other statistic for each file, folder and vault in the File Explorer pane.
https://obsidian.md/plugins?id=novel-word-count
MIT License
77 stars 7 forks source link

[Feature request] Characters counting without spaces #60

Closed mossbergmaverick closed 9 months ago

mossbergmaverick commented 9 months ago

Any counter for Obsidian calculates all characters in document, including spaces

Is it possible to add option to count only characters but ignore spaces? Google Docs gives this ability, will be cool if this appears in your extension.

isaaclyman commented 9 months ago

Yes, it could be done. What's your use case for this feature? If it's for German page count (Normseite), you can set the Page Count Method to "Characters per page" and toggle off "Include whitespace characters in page count".

mossbergmaverick commented 9 months ago

In the Czech Republic, Slovenia, and Poland, it's common to gauge the length of a text by counting characters without spaces, rather than by words, particularly in translation. This can pose a challenge in adhering to character limits, often leading to exceedances.

isaaclyman commented 9 months ago

Understood. Language compatibility is a priority for me, so I'll work on this as soon as I can.

isaaclyman commented 9 months ago

Fixed in v2.24.0.