codimd icon indicating copy to clipboard operation
codimd copied to clipboard

Feature request: Word Count

Open 0rax opened this issue 8 years ago • 10 comments
trafficstars

Hi there,

Ive been using HackMD on my own server for 2 weeks right now and love it.

Everything seems to be here in term of text management except one little thing that is quite useful when writing papers: a word counter.

Such counter provides useful information about the complexity of what you are writing as well as let you respect a requirement when you need it.

Such counter can be added next to the line count at the bottom of the editor: screen shot 2017-02-01 at 16 33 19

There is 2 way to do it as I see it:

  • Count every words and create the counter
  • Count every pure text words (do not include code block, underlying url in images and links, ...)

The second way seems more academic as codeblock, images and all are not considered part of the text but addition to it. A discussion about it is available here: https://github.com/MacDownApp/macdown/issues/244.

0rax avatar Feb 01 '17 15:02 0rax

Thanks @0rax Currently we only have a length counter (bottom-right of it). And I think this word counter might be useful. In my opinion I would like to add as a popover when you click the length counter. Also text without punctuation or unicode counter are also good to be included in here.

jackycute avatar Feb 01 '17 16:02 jackycute

Right that might be a solution to have a popover with more info.

If I have one suggestion it would be to make the length counter rotate between option on click and have all the counters available on hover. This way each one of us can choose exactly what counter he want to show in the bottom right.

I like the idea of not crowding the bottom lane with too much information.

Thanks a lot for taking into consideration my request.

0rax avatar Feb 01 '17 16:02 0rax

+1 This feature would be really helpful while writing free text for various purposes.

shavakagrawal avatar Jan 23 '19 05:01 shavakagrawal

I was just considering using hackmd to write a grant proposal with some colleagues, where the word count is limited. The lack of this feature makes it hard :-/

bloff avatar Feb 13 '20 15:02 bloff

Would very much love to see this implemented!

kcxt avatar Apr 06 '20 16:04 kcxt

Bumping :)

lightclient avatar Nov 16 '20 04:11 lightclient

This feature actually exists. Don't know for how long though. Just click on the length information in the bottom right corner image

cwallenwein avatar Jul 14 '21 19:07 cwallenwein

I cannot find this feature in current release 2.4.2... is it still in development or do I miss something?

I only trigger a popup "You can write up to 100000 characters in this document."

koalajoe23 avatar Oct 10 '23 07:10 koalajoe23

That word count shows the entire document. Is it possible to show the word count for a region, say highlighted/selected text?

My use-case: Writing a document with multiple sections, where each section has its own word limit.

manodeep avatar Oct 20 '23 00:10 manodeep

I cannot find this feature in current release 2.4.2... is it still in development or do I miss something?

I only trigger a popup "You can write up to 100000 characters in this document."

@sirl1on You should click on it (the length field) to see word count.

emrecoban avatar Dec 05 '23 15:12 emrecoban