Re:Show HN: A beautiful and open-source paste service
by jdiez17 on Sunday February 03, 2013 @05:39PM
(#5161520)
It does have syntax highlighting, but the detection is not very good yet. At any rate, you can always change the extension on the URL and it will try to highlight that language.
Thanks for the kudos!
Re:Show HN: A beautiful and open-source paste service
by niggler on Sunday February 03, 2013 @06:39PM
(#5161698)
Is there syntax highlighting for shell scripts (.sh)?
Re:Show HN: A beautiful and open-source paste service
by jdiez17 on Sunday February 03, 2013 @06:42PM
(#5161708)
Yep, just change the extension in the URL to .sh.
Re:Show HN: A beautiful and open-source paste service
by niggler on Sunday February 03, 2013 @06:48PM
(#5161722)
There's a bug in google code prettify which your syntax highlighting also shows:
relevant bug: https://code.google.com/p/google-code-prettify/issues/detail...
Re:Show HN: A beautiful and open-source paste service
by jdiez17 on Sunday February 03, 2013 @06:49PM
(#5161728)
@niggler Huh, interesting. We're using Ace, though, so it's not related to Google Code Prettify, but still a bug.
Re:Show HN: A beautiful and open-source paste service
by niggler on Sunday February 03, 2013 @06:53PM
(#5161743)
Filed issue: https://github.com/ajaxorg/ace/issues/1235
Next time, click on the "link" link next to a post you wish to reply to, and it will give you a reply option
A couple things I would add would probably be some way to do syntax highlighting and a quick button to create a new paste from any page. Clicking the bottom left logo will do that, but it's not terribly obvious at first.
So, yeah, I like this a lot. Kudos.
EDIT: I see the syntax highlighting now, I just hadn't triggered it yet.