Announcing "Bookshelf shortcode", a Micro.blog plug-in
Let me introduce to you a brand new Micro.blog plug-in of mine. It’s called Bookshelf shortcode. 🥳
![](https://raw.githubusercontent.com/kottkrig/microdotblog-bookshelf-shortcode/main/docs/screenshot-list.webp)
![](https://raw.githubusercontent.com/kottkrig/microdotblog-bookshelf-shortcode/main/docs/screenshot-grid.webp)
This plug-in contains a single “shortcode” that can be used to embed a Micro.blog bookshelf on any Micro.blog page.
For example, to embed my “Currently reading” bookshelf on a page, I add this code snippet to the page:
{{< bookshelf "currentlyreading" >}}
Or, in cases where I want to display lots of books, I can use the “grid” variant.
{{< bookshelf shelf="finishedreading" variant="grid" >}}
It’s even possible to embed two separate bookshelves on the same page.
![Screenshot of an embedded bookshelf](https://cdn.uploads.micro.blog/67122/2022/5bcabdc692.png)