Commit graph

4 commits

Author SHA1 Message Date
Facundo Olano
de5ea63d0d
Use go-org fork to remove html outline divs and get slug headline ids (#39)
* point go-org dependency to fork

* fix dep commit

* remove outlines from expected test output
2024-06-11 14:35:47 -03:00
facundoolano
a7866b7d2c add a simpler templ render interface, support no highlighting 2024-02-27 12:40:40 -03:00
Facundo Olano
e344dcb6ad
Syntax highlighting (#15)
* update markdown and org renderers to use chrome highlighting

* add example code blocks

* fix missing nav in default layout

* remove problematic code nowrap

* add language to tutorial samples

* set theme explicitly

* allow setting highlight theme with config

* fix config key for hl

* try to handle both light dark settings gracefully

* fix some problematic css color settings

* fix missing raw template

* fix weird chroma code height artifacts

* improve tabler rendering in mobile

* remove redundant default
2024-02-27 08:45:29 -03:00
Facundo Olano
924e4629b2
Add smart quotes replacement in output html (#14)
* first basic implementation with gojekyll port

* extract smartify file

* template struct comments

* rename templates package to markup

* move minify file to markup

* move html to markup

* move smartify to markup

* first stab at unit test

* better dash replacement

* do plain replacement of dashes
2024-02-26 12:16:06 -03:00
Renamed from templates/templates_test.go (Browse further)