Forked from seokjeon/Export md from devto article.js
Created
September 3, 2024 18:43
-
-
Save offpepe/6b1f3a7a9cec6b0e9837c004093cc464 to your computer and use it in GitHub Desktop.
Export md from dev.to article
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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