Crayon Syntax

386 posts

Crayon Syntax

Crayon Syntax

@crayonsyntax

PHP and jQuery based Syntax Highlighter for Wordpress.

Katılım Mart 2011
72 Takip Edilen160 Takipçiler
Crayon Syntax
Crayon Syntax@crayonsyntax·
Just wanted to say thanks to everyone for adopting Crayon - 200k downloads!
English
0
2
3
0
Crayon Syntax
Crayon Syntax@crayonsyntax·
@nolar Add it in the visual editor with the Tag Editor (<>) button. Otherwise you're not encoding the tags and it's directly in the markup.
English
0
0
0
0
Crayon Syntax
Crayon Syntax@crayonsyntax·
@schadlucas Hmm no, you should create one to mimic IntelliJ's with the theme editor!
English
0
0
0
0
Crayon Syntax
Crayon Syntax@crayonsyntax·
@mbohland Thanks, sorry about that I've been meaning to get crayon.js complete for months, but I haven't forgotten it!
English
0
0
0
0
Crayon Syntax
Crayon Syntax@crayonsyntax·
@arywirabudi if you enter < in the visual editor it is encoded in the output HTML as part of Wordpress.
English
1
0
0
0
Crayon Syntax
Crayon Syntax@crayonsyntax·
@deadlydog sorry no, but I'm working on a js version which should be compatible.
English
0
0
0
0
Crayon Syntax
Crayon Syntax@crayonsyntax·
@LiamsaGooch you can set a default language to use in the settings or override it in the tag editor.
English
0
0
0
0
Crayon Syntax
Crayon Syntax@crayonsyntax·
@darac most comments would be on their own like though wouldn't they? And there's also #!
English
0
0
0
0
Crayon Syntax
Crayon Syntax@crayonsyntax·
@darac At the moment having $ at the start has no consequences - but a # does. How would we distinguish a comment from a # prompt?
English
0
0
0
0
Crayon Syntax
Crayon Syntax@crayonsyntax·
@darac as in, would it ignore any [$|#] at the start and continue highlighting the rest as usual?
English
0
0
0
0
Crayon Syntax
Crayon Syntax@crayonsyntax·
@darac Sorry - just to confirm, could you send/link a snippet of code and how you would expect Crayon to react to an initial `$` prompt?
English
2
0
0
0