Is there an easy way to strip all markdown from a text file from the command line?

Clash Royale CLAN TAG#URR8PPP
up vote
5
down vote
favorite
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).
markdown
add a comment |Â
up vote
5
down vote
favorite
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).
markdown
add a comment |Â
up vote
5
down vote
favorite
up vote
5
down vote
favorite
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).
markdown
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).
markdown
asked Nov 12 '17 at 19:23
Att Righ
574313
574313
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
11
down vote
accepted
Install pandoc with:
$ sudo apt install pandoc
Next run it:
$ pandoc --from markdown --to plain -o output.txt input.md
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
11
down vote
accepted
Install pandoc with:
$ sudo apt install pandoc
Next run it:
$ pandoc --from markdown --to plain -o output.txt input.md
add a comment |Â
up vote
11
down vote
accepted
Install pandoc with:
$ sudo apt install pandoc
Next run it:
$ pandoc --from markdown --to plain -o output.txt input.md
add a comment |Â
up vote
11
down vote
accepted
up vote
11
down vote
accepted
Install pandoc with:
$ sudo apt install pandoc
Next run it:
$ pandoc --from markdown --to plain -o output.txt input.md
Install pandoc with:
$ sudo apt install pandoc
Next run it:
$ pandoc --from markdown --to plain -o output.txt input.md
answered Nov 12 '17 at 20:03
garethTheRed
23.1k35877
23.1k35877
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f404098%2fis-there-an-easy-way-to-strip-all-markdown-from-a-text-file-from-the-command-lin%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password