How can I do a word count in Markdown without including links?

This page summarizes the projects mentioned and recommended in the original post on /r/vim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • languagetool

    Style and Grammar Checker for 25+ Languages

  • I just came up with this function for my statusline that does a word count for markdown: function WordCount() abort return (&filetype ==# 'markdown' ? wordcount().words : '') endfu set statusline+=%{WordCount()} but much of my document is made of links like: [LanguageTool](https://languagetool.org/) Any suggestions on how to remove the words inside the actual links from the word count? In this example https://languagetool.org/. There is also some HTML like , and that would be a bonus :)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts