Remove line numbers from SyntaxHighlighter
Is there any way to remove the line numbers of SyntaxHighlighter? Thanks! ...
Is there any way to remove the line numbers of SyntaxHighlighter? Thanks! ...
I'm loading content dynamically into a div using the jQuery load() function. In the callback I'm calling SyntaxHighlighter.all(), to pretty print the syntax of the pre block that just got loaded into the div. The problem is that the content is loaded OK, but the syntax doesn't get highlighted. However, when I hardcode the pre block in t...
I've been using this code: var objDiv = document.getElementById("code"); objDiv.scrollTop = objDiv.scrollHeight; to scroll to the very bottom of the div. It worked perfectly in FF and Chrome (I asked a question about it not working in Chrome a few days ago, but it appears the guy who was testing it on Chrome was incorrect, so I tested...
Hi, I am using syntaxhighlighter (http://alexgorbatchev.com/wiki/SyntaxHighlighter) with a php source code with the ins and del tag. What I would like to do is to have syntaxhighligher ignore those html tags so that they can be parsed correctly. So I'd like to to display: test instead of the default <del>test</del> Anyone has ...
Hi, I am using syntaxhighlighter in blogengine.When I am putting html or xml in syntaxhighlighter with xml brush ,automatically it converts all html tags to uppercase in IE 6 and 7.It works fine with firefox. Please suggest any solution so the tags can retain their case. Thanks Ritu ...
Hi! I need to load the codes that will be highlighted by SyntaxHighlighter. I have this $("#syntax").change(function () { var code = $('#syntax').val(); code = "<script type='syntaxhighlighter' class='brush: js'><![CDATA[" + code; code += ']]>' + "</" + "script>"; $('#preview').h...
In SyntaxHighlighter, is it possible to highlight lines with different colors (say, some lines in green, some other in blue)? ...