Commit Graph

65 Commits

Author SHA1 Message Date
Zach Leatherman
e8970adb25 Ugh, case sensitivity filename issue on Mac OS 2018-01-27 23:52:24 -06:00
Zach Leatherman
dfe49017c8 Separate files for syntax highlighters 2018-01-27 23:50:07 -06:00
Zach Leatherman
d7e2c4e525 Switch to debug for netlify deploy 2018-01-27 23:44:29 -06:00
Zach Leatherman
dceec25c46 Try the plain highlighter 2018-01-27 23:31:42 -06:00
Zach Leatherman
3b9f9c111e superfluous callback 2018-01-27 23:21:32 -06:00
Zach Leatherman
119dcbaf5a Fixes #6 2018-01-27 21:08:43 -06:00
Zach Leatherman
963b5d46e6 Refactors Liquid syntax highlighters to add line highlights.
Usage (ranges are space separated):

{% highlight js 1,4-6 %}
One range
Adds `highlight-line-active` to lines 1,4,5,6

{% highlight js 3-4 -1 %}
Two ranges (add/remove), remove is N/A
Adds `highlight-line-add` to lines 3,4

{% highlight js -1 3-4 %}
Two ranges (add/remove), add is N/A
Adds `highlight-line-remove` to lines 3,4

{% highlight js 3-4 5,8-10 %}
Two ranges, both are used
Adds `highlight-line-add` to lines 3-4
Adds `highlight-line-remove` to lines 5,8,9,10
2018-01-26 22:12:46 -06:00
Zach Leatherman
6dcc240219 Change default config to use pathPrefix: "/" and then use --pathprefix="/eleventy-base-blog/ for GitHub deploy command. Requires Eleventy v0.2.11 2018-01-25 21:03:57 -06:00
Zach Leatherman
6c2983e013 Upgrades to 0.2.9 for new url filter. 2018-01-23 08:55:29 -06:00
Zach Leatherman
ddae36422d Try prismjs highlighter 2018-01-23 00:26:36 -06:00
Zach Leatherman
39c6d28733 Add subdir for gh-pages 2018-01-23 00:17:57 -06:00
Zach Leatherman
9a0fab1b46 Switch to plain syntax 2018-01-22 23:43:57 -06:00
Zach Leatherman
b9c0d87306 start of eleventy-base-blog that pairs with 0.2.8 2018-01-22 08:17:48 -06:00
Zach Leatherman
9fe4905608 Renames url filter to url 2018-01-16 21:20:54 -06:00
Zach Leatherman
c86db0c9ce Initial commit. 2018-01-16 21:08:47 -06:00