shawnohare / hugo-tufte

Content centric Hugo blogging theme styled with Tufte-css
MIT License
111 stars 39 forks source link

Removing dom ID requirement for margin/sidenotes #10

Closed jeremyf closed 5 years ago

jeremyf commented 5 years ago

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.