jberger / Galileo

A Simple Modern Perl CMS
http://galileo-cms.herokuapp.com
166 stars 38 forks source link

add pagedown extra plugin #27

Closed keedi closed 10 years ago

keedi commented 10 years ago

This pull-request contains following:

But I didn't add js and css of highlighter.js or google prettify into statc directory since I can't convince it's right or not. :)

jberger commented 10 years ago

Yikes, this is a lot to look at. I hope to get a chance this weekend, but I also need to prepare my Mojoconf talk

keedi commented 10 years ago

@jberger It's not an urgent issue at all, nevermind. :)

keedi commented 10 years ago

After this patch is applied then load following js/css:

<link rel="stylesheet" href="http://yandex.st/highlightjs/8.0/styles/default.min.css">
<script src="http://yandex.st/highlightjs/8.0/highlight.min.js"></script>
<script> (fuction () { hljs.initHighlightingOnLoad(); })(); </script>

will make Galileo look like:

syntax 2014-05-18 23-04-16

jberger commented 10 years ago

Sorry it took me so long to evaluate this. I'm not quite sure when I will roll the next release, but this will be in it.

One thought I have had is that there are getting to be too many JSON structures in the setup, I have opened #28 to track improving that.

Thanks again!

jberger commented 10 years ago

@keedi I have released 0.035 with this included. Thanks again!

keedi commented 10 years ago

Awesome, thank you so much! :)