Dev Community Article ⇨ Drafts Shortcut

Updated 10242022-164142


Social

made a Siri Shortcut for capturing @ThePracticalDev articles in clean markdown form (in @draftsapp.) https://dev.to/davidblue/dev-community-article-drafts-shortcut-50i7


Capture a dev.to article in clean markdown via API.

This shortcut uses the Dev.to API's getArticleByPath endpoint to capture an individual article's data and (markdown-formatted) body contents into a new Drafts draft, formatted (by default) as such:

# title

- [**Source**](url)
- Byline: [byline](profile)
- Published: `davodtime`

---

cover

md

By default, it also captures the entirety of the API response in a Data Jar jar specified at install.


Example Output

# Meme Monday 🎃

- [**Source**](https://dev.to/ben/meme-monday-1o5g)
- Byline: [Ben Halpern](https://dev.to/ben)
- Published: `10242022-074045`

---

[![Meme Monday 🎃](https://res.cloudinary.com/practicaldev/image/fetch/s--tZUC89vk--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/914owpwnth5neaasd5a7.png)](https://dev.to/ben/meme-monday-1o5g)

Welcome to another **Meme Monday** post! Today's cover image comes from [last week's thread](https://dev.to/ben/meme-monday-1299).

DEV is an inclusive space! Humor in poor taste will be downvoted by mods.