Commit graph

12 commits

Author SHA1 Message Date
slashformotion
4e38a13914
Markdown support in marginnote (#19)
Fixes #18
2021-08-15 11:48:55 +02:00
Dwarkesh Patel
67fb77fc2b fixed margin note bug 2021-08-01 13:15:43 -05:00
Dwarkesh Patel
69ceb70a48 Allows adding link to the citation in the epigraph 2021-07-31 09:18:32 -05:00
slashformotion
b682f1d8c3 Fix bloquotes 2021-07-25 10:03:10 +02:00
slashformotion
c454c6f4ca Started refactoring 2021-07-21 20:23:55 +02:00
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