Commit graph

85 commits

Author SHA1 Message Date
TuckerD
ba23674640
Improve code blocks styling (#13)
* add highlight config for code highlighter

* add default pygment css "github"

* fix styles for code blocks

* remove dead html from margin note

*These don't appear to do anything?

* Fix scrolling in code block

* More CSS fixes for code blocks

* ignore generated scss files. Probably other generated files too

* Use scss to generate more powerful styles for code blocks

* Document new code blocks style option

Improve code blocks styling
2021-08-03 22:18:19 +02:00
Dwarkesh Patel
67fb77fc2b fixed margin note bug 2021-08-01 13:15:43 -05:00
Dwarkesh Patel
269a529f72
Merge branch 'slashformotion:master' into master 2021-08-01 13:08:07 -05:00
Dwarkesh Patel
193c7f6497 fixed title href 2021-08-01 13:06:53 -05:00
slashformotion
92cf44c208 fix 404.html is not reworked #8 2021-08-01 11:52:39 +02:00
Dwarkesh Patel
fa0169737b fixed title issue 2021-07-31 21:48:37 -05:00
Dwarkesh Patel
c3edb6073c title links back to home 2021-07-31 09:38:26 -05:00
Dwarkesh Patel
69ceb70a48 Allows adding link to the citation in the epigraph 2021-07-31 09:18:32 -05:00
slashformotion
07a755cafb chores 2021-07-30 21:08:12 +02:00
slashformotion
37ecc69ecc enable either mathjax or katex
Fixes slashformotion/hugo-tufte#9
2021-07-30 21:07:51 +02:00
slashformotion
52004c23f5 delete highlight.html partial 2021-07-30 19:28:00 +02:00
slashformotion
6acc891c01 fix relative url 2021-07-28 11:12:43 +02:00
slashformotion
0299aa32d3 Fix #7: katex now work as expected 2021-07-28 11:02:23 +02:00
slashformotion
63de5c8780 update pure css cdn link 2021-07-28 10:51:14 +02:00
slashformotion
1bb3a4def4 fixed list view 2021-07-25 10:04:57 +02:00
slashformotion
c2651830a6 syntax hilighting 2021-07-25 10:04:41 +02:00
slashformotion
c396f150c9 added hr to brand 2021-07-25 10:04:01 +02: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
Josh Asplund
cfa6769e1c Updates footer.html (#8)
Fixes #7
2018-01-01 16:10:52 -08:00
Shawn O'Hare
f88858d6eb Fixes #3
Urlized terms already include the type (e.g., categories or tags).
2016-02-21 08:05:04 -08:00
Shawn O'Hare
363c1d6497 Fix unclosed <a> tag. 2016-01-15 10:08:17 -08:00
Shawn O'Hare
82958f2609 v0.1.0
Theme should be useable, but there might be some minor stylistic tweaks
here and there.
2016-01-14 21:02:57 -08:00
Shawn O'Hare
e3d2a647f9 Load hugo-tufte-override.css.
This makes it easier for users of the theme to customize the styling.
2016-01-14 20:43:52 -08:00
Shawn O'Hare
14cec251c4 Add table of contents partial template. 2016-01-14 20:41:44 -08:00
Shawn O'Hare
2c4ac3082f Add more shortcodes. 2016-01-14 20:41:16 -08:00
Shawn O'Hare
8dafca7e01 Use content.header partial for pages and nodes. 2016-01-14 20:40:27 -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
Shawn O'Hare
bb0310ec65 Remove content mini title (type). 2015-12-29 19:33:04 -08:00
Shawn O'Hare
b3a2e36507 Initial commit. 2015-12-29 18:35:20 -08:00