mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-14 14:32:43 +02:00
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
This commit is contained in:
parent
835a8701f8
commit
ba23674640
11 changed files with 311 additions and 124 deletions
|
@ -53,6 +53,7 @@ The site specific parameters that this theme recognizes are:
|
|||
- `copyright` string: Custom copyright notice.
|
||||
- `math` boolean: Site wide kill switch for Latex support
|
||||
- `katex` boolean: if "katex" is set to true katex will be used to render LaTex, if not MathJax will be used instead
|
||||
- `codeBlocksDark` boolean: if true, code blocks will use a dark theme.
|
||||
|
||||
### Page Parameters
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue