Hello, I'm trying to create a macro for counting bolded words and (separately) highlighted words in Obsidian. Is there a way to use KM to count words with particular formatting? I can only get as far as a general word count...
TIA
Sam
Hello, I'm trying to create a macro for counting bolded words and (separately) highlighted words in Obsidian. Is there a way to use KM to count words with particular formatting? I can only get as far as a general word count...
TIA
Sam
The Concordance option in Literary Toolbox does that.
You'd search for the Markdown bold scheme (\*.+?\*
does it for asterisks, say, escaping them because it's a regex search), and Concordance reports the total at the top and shows them in context below.