| Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Generate txt files from code blocks embedded on pages, and add links to them.
|
|
Now the hook creates a wrapping <span> to put the header and it's existing link
inside, and add the new anchor as a sibling.
|
|
|
|
|
|
|
|
Impement add-anchor-to-header-from-header-id.rb using regexps, like the
"official hooks" do:
- https://github.com/jekyll/jekyll-mentions
- https://github.com/jekyll/jemoji
|
|
|
|
|
|
|
|
Doesn't work for code blocks with 1000 or more lines, though.
It works well enough for now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Being nice towards medium/low resolution screens.
|
|
|
|
Taken from:
https://gist.github.com/potch/1243028
Reference:
https://github.com/jaspervdj/hakyll/issues/148
|
|
|
|
|
|
|
|
|
|
|
|
Taken from Hakyll repo[0] as suggested by website[1].
[0]: https://github.com/jaspervdj/hakyll/blob/ac1b743af779f0a05dd5449d8fda2078db69332e/web/css/syntax.css
[1]: https://jaspervdj.be/hakyll/tutorials/faq.html#does-hakyll-support-syntax-highlighting
|