Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Text Statistics (aka 'word count') #1887

Open
2 of 9 tasks
SR-- opened this issue Dec 13, 2021 · 2 comments
Open
2 of 9 tasks

Implement Text Statistics (aka 'word count') #1887

SR-- opened this issue Dec 13, 2021 · 2 comments
Labels
kind.crop scope.markdown Relating to markdown features (i.e. supporting new language syntax) scope.views Related to Preview, TreeView, UI Panels, and other webviews

Comments

@SR--
Copy link

SR-- commented Dec 13, 2021

Please select if your request is either something new or an enhancement

  • Enhancement of an existing Feature.
  • Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

  • Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
  • Lookup - Dendron's Lookup Command
  • Views - Dendron Preview, Tree View, Side Panels in the UI
  • Schema - Dendron Schemas
  • Pod - Data import from / export to Dendron
  • Publish - External Site Publish
  • Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe

It is often importnant to know the text statistics for planning, publication, work accounting and other reasons. At the moment, there is no convenient way to do it in the Preview.

Describe the solution you'd like

Implement text statistics (needs to be counting in Preview to ignore links, Markdown symbols, note references, etc. as well as in the Markdown editor window). WordCounter - Visual Studio Marketplace is very good but it only works in one (current) note. It also works in the source text of the note while the meaningful count is in the rendered note.

Desired features:

  • Word count
  • Character count
  • Estimated reading speed with customisable reading time
  • Differentiate between body text and footnote, count together and separately
  • Customisable word targets per note, per heading, limited by anchors (maybe) and words remaining
  • Meaningful Word Count For Your Markdown
  • Integrate the work count numbers into the Outline (optionally)?
  • Integrate the word count numbers into the graph (optionally)?
  • Allow cumulative statistics for a selection of notes, for example as defined by a saved query
  • Support saving/export of relevant statistics

Examples:

  • Roam has {{word-count}} and {{character-count}} features. Upper and lower anchors for counting might be interesting.
  • You can also query and sort by word count in Roam.

Describe alternatives you've considered

  • Existing vscode extentions, but they do not count the rendered HTML.
  • You can copy from Preview and paste into MS Word or similar but this is far from ideal.
@github-actions github-actions bot added scope.markdown Relating to markdown features (i.e. supporting new language syntax) scope.views Related to Preview, TreeView, UI Panels, and other webviews status.triage-needed labels Dec 13, 2021
@Harshita-mindfire
Copy link
Contributor

Thanks @SR-- for the suggestion.

@aleksey-rowan
Copy link
Contributor

This issue is featured in this week's round of CROP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind.crop scope.markdown Relating to markdown features (i.e. supporting new language syntax) scope.views Related to Preview, TreeView, UI Panels, and other webviews
Projects
None yet
Development

No branches or pull requests

3 participants