Commit graph

7 commits

Author SHA1 Message Date
Charles Wimmer
e70a1f0e91
Fixes Hugo deprecation warnings (#16) 2021-01-31 14:48:46 -08:00
Jeremy Friesen
4299d3bfdb Removing dom ID requirement for margin/sidenotes (#10)
* Removing dom ID requirement for margin/sidenotes

Prior to this commit, when using the `marginnote` or `sidenote`
shortcodes, you would need to pass a domId parameter to the shortcode.

With this change you no longer need to pass a parameter, and any
parameter passed is ignored. The pre-amble creates a unique domID for
the shortcodes.

* Replacing convoluted Scratch with Ordinal

I was leveraging the Scratch function of Hugo, when I could instead
rely on `.Ordinal`
2019-04-18 09:37:06 -07:00
Shawn O'Hare
2c4ac3082f Add more shortcodes. 2016-01-14 20:41:16 -08:00
Shawn O'Hare
b9ec18d78e Add and Refactor shortcodes.
Add the epigraph shortcode.  This should complete the Tufte-CSS
specific shortcodes.  Additionally, the section and div shortcodes
were refactored for ease of use.
2016-01-01 11:51:23 -08:00
Shawn O'Hare
f48e153d93 Add blockquote shortcode. 2015-12-30 22:10:37 -08:00
Shawn O'Hare
45c0414b3d Add section shortcode.
It seems there are some issues in wrapping complex blocks of markdown in
html tags, especially when the block contains other short codes.
Content would either only partially render or fail completely.
2015-12-30 21:34:52 -08:00
Shawn O'Hare
7584401279 Implement side + margin note shortcodes. 2015-12-29 20:41:07 -08:00