Inline Code in DokuWiki
You probably want to use ”%%here is code%%”. This formats it in monospace (”) and prevents any interpretion of possible wiki markup (%%).
You probably want to use ”%%here is code%%”. This formats it in monospace (”) and prevents any interpretion of possible wiki markup (%%).
Sublime Text uses the same syntax highlighting as TextMate. The grammar can be found here. I’d recommend working in JSON then converting to XML, since it’s easier (at least it is for me) to read. The PackageDev plugin will give you a starting snippet for defining a new syntax. It also contains some syntax highlighting … Read more
I’ve found out that Twig have a very similar syntax to Liquid, enabling the Twig plugin will highlight Liquid syntax and will keep the HTML highlight/autocomplete/emmet functionality working as opposed to the “textMate Liquid bundle”. Go to Settings > Editor > File Types find “Twig” on that list and associate Liquid files with it by … Read more
Since pandoc 2.0.5, you can also use –print-highlight-style to output a theme file and edit it. To me, the best way to use this option is to Pick a pleasant available style Output its theme file Edit the theme file Use it! 1. Available Styles Pick your style, among the one already existing: 2. Output … Read more
Fenced blocks were introduced with Redcarpet 2. Jekyll now supports Redcarpet 2. As an aside I am using Redcarpet with Rouge until Kramdown support is available. In addition some people prefer Nanoc to Jekyll.
Some people says that copying code from Eclipse editor works well (UPDATE: Proven FALSE). Another alternative is exporting to RTF (can also export line numbers), or to clipboard, from Highlight and then opening/pasting it in OpenOffice.org. (UPDATE: Proven TRUE) Here is a Highlight GUI screen shot: You can also switch from OpenOffice.org to LibreOffice, and … Read more
You could try going to Language > H > Html and that should highlight stuff.
I have managed to find a solution: Go to http://tmtheme-editor.herokuapp.com (someone has built a web-based theme editor). Once you have tweaked the colour syntax you can download the themename.tmTheme file. Move that file to /Users/username/Library/Application Support/Sublime Text 3/Packages/ User/ (if you are on a Mac). Load in the syntax theme from the top menu: Sublime … Read more
1. First, take backup of your blogger template 2. After that open your blogger template (In Edit HTML mode) & copy the all css given in this link before </b:skin> tag 3. Paste the followig code before </head> tag <script src=”http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shCore.js” type=”text/javascript”></script> <script src=”http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shBrushCpp.js” type=”text/javascript”></script> <script src=”http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shBrushCSharp.js” type=”text/javascript”></script> <script src=”http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shBrushCss.js” type=”text/javascript”></script> <script src=”http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shBrushDelphi.js” type=”text/javascript”></script> <script … Read more
Please see File | Settings (Preferences on Mac) | Editor | File Types. Look for your file name mapped to the Text type or to the Auto-detect file type by content type. Remove the incorrect mapping and it will fix the issue. If you still can’t find the wrong mapping in the IDE settings, locate … Read more