better-word-count icon indicating copy to clipboard operation
better-word-count copied to clipboard

[Feature Request] Option to exclude tags & front matter on word/char count

Open afland opened this issue 3 years ago • 6 comments
trafficstars

Pretty much title. I can't imagine any use case where including the tags and other metadata when looking at the unhighlighted word/char count is useful. Right now, I just highlight all of the actual content manually.

afland avatar Jul 29 '22 20:07 afland

I'd very much like to second this.

Folkemunne avatar Sep 19 '22 13:09 Folkemunne

More exclusion options are on the list.

lukeleppan avatar Dec 06 '22 22:12 lukeleppan

Please, implement this. Having a large frontmatter often leads to misleading estimates of the content of the file, when looking at the word count.

amzon-ex avatar Dec 07 '22 14:12 amzon-ex

I'd also like to see an accurate word count for the document's content intended to be read. An option to exclude the front matter from the total word seems to be sorely missing. Novel Word Count plugin for showing word counts and other statistics in the File Explorer sidebar manages to exclude the front matter from its calculations, so it may serve as a reference for how to implement this.

Related: #28

redactedscribe avatar Oct 09 '23 13:10 redactedscribe

+1 This seems all the more important given Obsidian's new investment in Properties, which is presumably going to lead to us all having more frontmatter content.

ibnibnbattuta avatar Nov 18 '23 11:11 ibnibnbattuta

Obsidian v1.5 will exclude YAML (front matter) / Properties from the word count, and I think the upstream change will affect the numbers that this plugin reports. As for #tags, that will still need a custom implementation I believe.

redactedscribe avatar Nov 18 '23 13:11 redactedscribe