Vim syntax (Markdown)

Issue I’m currently exploring the prurigro/vim-markdown-concealed plugin with the conceal option. The highlight I get for the *italic* and **bold** words is not very pretty. The problem can either come from my colorscheme or the plugin syntax. So I looked

Continue reading

WinEdt highliting switch: how to skip nested STOP symbol?

Issue I have created a highlighting switch in WinEdt8 as following: SWITCH=”\REVR{?}” ENABLED=1 MODE_FILTER=”TeX;BibTeX;MetaPost” START=”{” STOP=”}” HIGHLIGHT_START=0 STEP_OVER_STOP=1 HIGHLIGHT_STOP=0 SCOPE=4 DOMINANT_PRIORITY=0 STRICT_PRIORITY=0 PRIORITY=9 INDENTED=0 BOLN_ONLY=0 CASE_SENSITIVE=1 START1_TRIGGER=”\REVR” START2_TRIGGER=”” STOP1_TRIGGER=”” STOP2_TRIGGER=”” DEFAULT_FONT=1 ITALIC=0 TEXT_COLOR=”#FF0000″ Since the STOP symbol is “}”, the

Continue reading

File diff souce code highlighting

Issue various JavaScript libraries provide syntax highlighting functionality to display code on a webpage. Some example for those libraries are: Ace (http://ace.c9.io/) – yes, I am aware that this is a whole editor Prism JS (http://prismjs.com/) SyntaxHighlighter (http://alexgorbatchev.com/SyntaxHighlighter/) …and many

Continue reading

MAXScript complete function list?

Issue Writing highlighter for MAXScript. I need list of keywords and functions. There’s a reference for MAXScript: http://docs.autodesk.com/3DSMAX/16/ENU/MAXScript-Help/index.html?url=files/GUID-6FC81BE7-58FF-4C63-8362-0BDCFA9F904C.htm,topicNumber=d30e122065 But it’s hard to rip function list from there. Maybe it could be found somewhere else? I mean, at least listed in

Continue reading

Highlight for java?

Issue I’m basically writing a website with play framework and I want to turn code snippets to nicely formatted, highlighted html code. Is there any java library on maven that deals with raw code formatting to html like linux command

Continue reading

google-code-prettify removes text in angle bracket

Issue I am using google-code-prettify to syntax-highlight CPP code. I used it as follows. <script src=”https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?lang=cpp”></script> <pre class=”prettyprint”><code> #include <iostream> using namespace std; int main(){ cout << “Hellow world!” << endl; return 0; } </code> </pre> In the result I

Continue reading

How to use CDN hosted highlight.js using Rails?

Issue Where do I place the following links to get highlight.js to work on my Rails application (https://highlightjs.org/download/)? <link rel=”stylesheet” href=”//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/default.min.css”> <script src=”//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js”></script> Solution on app/views/layouts/application.html In the middle of head tags. Sometimes is hard to identify something in the

Continue reading

Syntax Highlighting not working properly

Issue So, I’ve been working on a Script Editor in C# in Visual Studio 2013 and of course I want to have syntax highlighting as a feature. I have the following code: programTextBox.Enabled = false; Regex cKeyWords = new Regex(“(auto|break|case|char|const|continue|defaut|double|else|enum|extern|float|for|goto|if|int”

Continue reading