generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the solution you'd like
Currently, the word count logic seems to rely on splitting by spaces (split(/\s+/)). This works perfectly for English but fails for CJK (Chinese, Japanese, Korean) languages because we don't use spaces between characters. As a result, a long paragraph of Chinese text is counted as only 1 word, making the "Session Word Count Goal" feature and the progress bar unusable for CJK users.
Describe alternatives you've considered
Could you please update the word counting logic to handle CJK characters? A common approach used in other Obsidian plugins (like novel-word-count)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request