mr-islam / hugo-callout

Notion-style callouts in Hugo shortcode!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hugo-callout

Notion-style callouts for your hugo site!

desktop screenshot

Simply invoke the following shortcode in your .md Hugo content files to use these beautiful callouts:

{{< callout emoji="💯" text="This is the text that will show up in the callout. It can be as long as you like, but only one paragraph." >}}

To install: simply download the callout.html file from this repo, it's also in the releases section. Place this file in your themes/[THEME-NAME]/layouts/shortcodes or layouts/shortcodes folder.

The style code is included in that same file for convenience, but you can move it to your own .css file and modify as you wish 👍🏻

About

Notion-style callouts in Hugo shortcode!

License:Apache License 2.0


Languages

Language:HTML 100.0%