hackstream / zettel

A notes organizer - based on Zettelkasten methodology.
GNU General Public License v3.0
156 stars 10 forks source link

Add Support for Syntax Highlighting #17

Closed athul closed 4 years ago

athul commented 4 years ago

Uses Chroma for the Color ✨

The new config generates a new field called pygmentsstyle(just like Hugo 😉 ).

The only limitation I found is that you have to define the colorscheme in small letters. You can find all the styles here.

Had to tweak the CSS a bit to give a better BG color of the code block

Fixes #14

mr-karan commented 4 years ago

wing.css is the framework we use. All the overrides should go to our custom stylesheet.

athul commented 4 years ago

Oh Okay, Will Change that

athul commented 4 years ago

e4aec4172b46cdd30e76e4011e194cc6853a0c21 changes the usage to custom sheet.

Here is an output for reference. Syntax Used: GitHub

Screen Shot 2020-09-16 at 3 07 48 PM

mr-karan commented 4 years ago

Thanks @athul :+1: