Skip to content

Script that fetches page content fromo URL and turns it into Markdown

Notifications You must be signed in to change notification settings

viktomas/url-to-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Script that fetches page content fromo URL and turns it into Markdown

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published