feat: add 'aside' as a shortcode (#6)
The README has been updated to show a code example of both, including an exemplary screenshot. Since Hugo 0.55, we have to use `markdownify` in shortcodes that contain HTML elements. At least we have to, if we want to render markdown code inside the HTML element. To use the `<aside>` element, we have to wrap our content in an `<article>` tag. This fixes #4. Co-authored-by: Robert Lützner <robert.luetzner@iternity.com>
This commit is contained in:
parent
82e5f2ccab
commit
80cd7cf8f1
5 changed files with 30 additions and 3 deletions
BIN
docs/blockquote_vs_aside.png
Normal file
BIN
docs/blockquote_vs_aside.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue