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

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
5
down vote

favorite
2












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).







share|improve this question
























    up vote
    5
    down vote

    favorite
    2












    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).







    share|improve this question






















      up vote
      5
      down vote

      favorite
      2









      up vote
      5
      down vote

      favorite
      2






      2





      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).







      share|improve this question












      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).









      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 12 '17 at 19:23









      Att Righ

      574313




      574313




















          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





          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            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






























            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





            share|improve this answer
























              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





              share|improve this answer






















                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





                share|improve this answer












                Install pandoc with:



                $ sudo apt install pandoc


                Next run it:



                $ pandoc --from markdown --to plain -o output.txt input.md






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 12 '17 at 20:03









                garethTheRed

                23.1k35877




                23.1k35877



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    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













































































                    Popular posts from this blog

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)