Is there an easy way to strip all markdown from a text file from the command line?
A solution that is installable with apt is preferable. But failing that apt is better than pip is better than gem is better than npm (for me).
Install pandoc with:
$ sudo apt install pandoc
Next run it:
$ pandoc --from markdown --to plain -o output.txt input.md