You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First run npm run build before running npm run wrangler. 11ty will not run in watch mode though. Alternatively, run npm run watch in one terminal window, then in another run npm run wrangler.
Buttondown newsletter
I use Buttondown for my newsletter service. I write my newsletters in Markdown, much like my blog posts. They have an API, but for now, I just copy-paste the newsletter post into my newsletters folder since both use markdown. I also update the canonical URL in Buttondown to point back to my self-hosted version from their archive.
Copy-pasta
Sign up for newsletter aside
Paste somewhere in a blog post after somethink useful has been shared.
{%include'newsletter-aside.njk'%}
Bookshop.org affiliate links
This newsletter is reader-supported. If you buy a book from one of the links above, I'll earn some coffee money. You don't pay a higher price, and Bookshop.org supports independent booksellers.
Syndication footers
This is a note to self for the markdown to copy-paste when I syndicate a post to another publication (like Dev).
---
This article was originally published on [sia.codes](https://sia.codes/posts/how-to-add-prettier-to-a-project/). Head over there if you like this post and want to read others like it, or sign up for my [newsletter](https://buttondown.email/sia.codes) to be notified of new posts!