Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 878 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 878 Bytes

url-to-markdown: Parse webpages to Markdown from your shell

url-to-markdown is a script that combines mozilla/readability with mixmark-io/turndown to let you parse an article on the web into markdown with one command.

  1. Install Node > 12

  2. Install Git

  3. Checkout this repo git checkout https://github.com/viktomas/url-to-markdown.git

  4. Enter the folder cd url-to-markdown

  5. Install dependencies npm i

  6. Run the script:

    ❯❯❯ node index.js https://example.com
    This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.
    
    [More information...](https://www.iana.org/domains/example)