diff --git a/readme.md b/readme.md index 9405d1f..877f62d 100644 --- a/readme.md +++ b/readme.md @@ -27,7 +27,8 @@ The site is then deployed to [Vercel](http://vercel.com). - Sexy LQIP image previews - Embedded GitHub comments - Automatic open graph images -- Automatic pretty URL paths +- Automatic pretty URLs +- Automatic table of contents - Quick search via CMD+P just like in Notion - Responsive for desktop / tablet / mobile - Optimized for Next.js and Vercel @@ -78,7 +79,7 @@ All extra dependencies are optional -- the project should work just fine out of If you want to copy some of the fancier elements of my site, then you'll have to set up a few extras. -#### Fathom Analytics +### Fathom Analytics [Fathom](https://usefathom.com/ref/42TFOZ) provides a lightweight alternative to Google Analytics. @@ -88,7 +89,7 @@ To enable analytics, just add a `NEXT_PUBLIC_FATHOM_ID` environment variable. This environment variable will only be taken into account in production, so you don't have to worry about messing up your analytics with localhost development. -#### GitHub Comments +### GitHub Comments [Utteranc.es](https://utteranc.es/) is an amazing [open source project](https://github.com/utterance/utterances) which enables developers to embed GitHub issues as a comments section on their websites. Genius. @@ -96,7 +97,7 @@ The integration is really simple. Just edit the `utterancesGitHubRepo` config va You probably want to read through the Utterances docs before enabling this in production, since there are some subtleties around how issues get mapped to pages on your site, but overall the setup was super easy imho and I love the results. -#### Preview Images +### Preview Images This is a really cool feature that's inspired by Medium's smooth image loading, where we first load a low quality, blurred version of an image and animate in the full quality version once it loads. It's such a nice effect, but it does add a bit of work to set up. @@ -117,7 +118,7 @@ FIREBASE_COLLECTION_IMAGES= The actual work happens in the [create-preview-image](./api/create-preview-image) serverless function. -#### Automatic Social Images +### Automatic Social Images
@@ -138,6 +139,16 @@ Here's an example of a social image URL in production: [/api/render-social-image
Note that you shouldn't have to do anything extra to enable this feature as long as you're deploying to Vercel.
+### Automatic Table of Contents
+
+
+
+