This blog started with the Eleventy 11ty blog starter.
General
Cards
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
.
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.
Paste somewhere in a blog post after somethink useful has been shared.
{% include 'newsletter-aside.njk' %}
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.
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!
- Netlify
- Get your own Eleventy web site on Netlify—seriously, just click OK a few times and it’s live—Netlify is amazing.
For all sia.codes enhancements: Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
For the eleventy-base-blog: MIT
Content is all © Sia Karamalegos