Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save offpepe/6b1f3a7a9cec6b0e9837c004093cc464 to your computer and use it in GitHub Desktop.
Save offpepe/6b1f3a7a9cec6b0e9837c004093cc464 to your computer and use it in GitHub Desktop.
Export md from dev.to article
// Copy the code below, and paste it on address bar where you want to export markdown.
javascript:var url=window.location.href.split("/");url.splice(3,0,"api","articles"),fetch(url.join("/")).then(o=>o.json()).then(o=>console.log(o.body_markdown));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment