Feature request: Word Count
- Lingua principale
- JavaScript
- Stelle
- 10.1k
- Fork
- 1.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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:

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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start at the editor’s bottom status area where the line count is displayed. Decide whether the counter includes all words or only pure text excluding code blocks and URLs, then add the word count beside the line count and verify it updates as the note changes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100