Commit graph

23 commits

Author SHA1 Message Date
loikein
2ba3e7fb75 fix bugs from https://github.com/loikein/hugo-tufte/issues/6 2023-04-18 23:50:58 +01:00
loikein
8049030489 address https://github.com/loikein/hugo-tufte/issues/6 2023-04-18 23:34:31 +01:00
loikein
3cda34976f refine figure 2023-04-18 00:29:12 +01:00
loikein
bb73762987 refine blockquote & epigraph 2023-04-17 23:14:50 +01:00
loikein
a1b9b7dcbd new features for margin/side note 2023-04-15 15:31:10 +01:00
loikein
3922e52f50 improve readability of figure.html 2023-04-15 01:53:05 +01:00
loikein
a881ce922f address https://github.com/loikein/hugo-tufte/issues/2 2023-04-14 23:34:42 +01:00
loikein
e6d583a987 fix katex, 1 new shortcode, various fixes 2023-04-14 19:21:10 +01:00
loikein
89b51f17b7
Merge branch 'main' into master 2023-04-14 16:39:58 +00:00
loikein
ae230d5615 edit .gitignore; add some shortcodes 2023-04-14 17:27:20 +01:00
slashformotion
628637be81
Markdown support in all shortcodes (#21)
Fixes #20
2021-08-15 14:28:10 +02:00
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