example

Hugo Shortcodes - my first try

April 6, 2020  -   1 mins read time -   118 words -  garrardkitchen

hugo, shortcodes, example

My first attempt Here’s my first effort at creating a shortcode. This shortcode is available here Information Basic {{< note Sample text >}} Sample text With italics {{< note italic=“true” Sample text >}} Sample text With header {{< note title=“With header”> Sample text >}} With header Sample text Warning Basic {{< note warning=“true”> Sample text >}} Sample text With italic {{< note warning=“true” italic=“true” Sample text >}} Sample text With header {{< note warning=“true” title=“With header” Sample text >}} ...