Closed laventura closed 6 years ago
Thank you for the kind words!
You bring up a great point and have inspired me to update the theme itself. You can see the full changes here: https://github.com/bradleytaunt/ET-Jekyll/commit/305a9f880e196a7ec97f5028f2788976cf143250
In a nutshell:
lazyload
images in blog postsAs for your request for syntax highlighting - this theme is meant to stay inline with the design principles of Edward Tufte, so default syntax uses the same styling and coloring as all other blog post content.
A few options you can look into in order to add your own custom syntax highlighting:
I'm marking this ticket as closed since I have updated the theme accordingly. 😄
Thanks. Looks good.
For syntax highlighting, how would I use, say highlight.js or prism.js, to highlight the code? Where would I add these JS files? (Sorry, I haven't tried these.. so am not sure)
As with any 3rd party script, your best bet is to place it in either the head
or just before the end of the body
element if you prefer performance.
So place whichever script you decide to use in one of these:
Any further customization you would have to look at the documentation for those specific plugins.
This theme looks lovely. 👍Very simple and useful and compact.
Two quick Qs. How do you get/add support for
Thanks!