Mako Sytanx-Highlighting for Geany - syntax-highlighting

Is there a Mako-template syntax-highlighting for Geany?
or would I need to make a customized one?
Thank you!

There is currently no Mako template build in available. As it looks very similar to plain HTML you might want to use that as basis.

Related

Vim plugin for magento

Is there any vim plugin available for auto suggestion of magento classes,functions? or is there any workaround available to achieve this?
I'd take a look at ctags. I haven't used it extensively myself, but I know that vi/vim was one of the earliest programs you leverage ctags support for code navigation. My guess would be there's a way to use your tags file as a source for VIm autocomplete.

Extend RedCloth via Redmine plugin?

I'm new to Ruby/Redmine/Redcloth but I'm trying to achieve the following:
The default way to build a link in Textile is "foo":http://bar. However, 90% of the day I use Atlassian products, which use [foo|http://bar] as link markup.
To keep everything a bit uniform I'd like to implement this in Redmine via a plugin. However, it appears that you can't change the macro syntax so instead I'll have to look into extending RedCloth to accept this form of inserting links.
Does anyone know how I can achieve this?
Thank you and merry christmas,
Dennis
You might consider switching to one of the two Markdown plugins (one is Markdown Extra-like, based on Bluefeather), which are a bit more similar in link style, although not the same as what you are used to. Since you use SO, though, you're obviously familiar with it.
Otherwise you'd have to write a full plugin, for which either of the plugins I've mentioned would serve as a good model. Best of luck.

Where can I get SCAYT documentation, or algorithm?

I am using CK editor, now I want to understand SCAYT, but the scayt plug-in provided by SPellchecker.net is minified, and not well documented but I need to understand some of the features.
Can anyone provide me with such type of document or any algorithm related to this.
thanks in advance.
Download CKEditor 3.0.2 from http://ckeditor.com/download.
Decompress the file, and look for the directory _source/plugins/scayt, which will contain a file named plugin.js.
That file is not minified.

web development application - mac

Does anyone know of an application (for mac) which will format a page of html code nicely?
ie Open the html file and indent all of the code/blocks, put character returns in and format it into sections so that it is readable rather than being just a big block of code. Then also give the ability to minimize/collapse sections of the code to make it more readable.
I've been trying Coda and Expresso - Expresso has the feature to minimize/collapse code but does not seem to be able to format code.
Please help?
TextMate is a really cool app. There are hundreds of bundles for all possible languages.
Try TACO HTML Edit
or
JEdit (Freeware)
Bye.
Try using tidy. I think it is included in OSX (at least the command is there on my system) so you won't need to install anything to use it.
I use BBEdit for this.
Textmate will do a nice job.
If you are a java or ruby programmer, Intellj or Rubymine does an excellent job of auto-formatting code(including HTML).

Code syntax formatter for posting code on webpages

Is there a utility that will generate html or css for blocks of code (.net c#) when you post it on a website?
I have seen several websites with very nicely formatted code and I dont believe they do this manually.
Google prettify -
http://code.google.com/p/google-code-prettify/
I prefer Syntax Highlighter implementations (I'm using Wordpress plugin implementation for my blog).
Advantages
It is based on JavaScript and does
not care about what you have on the
server.
Posts with this formatting display
properly on different RSS feeds and
can be copied to clipboard.
It is trivial to extend syntax
rules. I'm using that to highlight
custom operators in Boo-based DSL (see sample post)
Multiple languages are supported
out-of-the-box
(source: googlecode.com)
You can get JavaScript syntax-highlighting scripts, such as this one by Dean Edwards.
This is also a jQuery version apparently based on it which looks good.
CopySourceAsHtml is an add-in for Microsoft Visual Studio 2005 that allows you to copy source code, syntax highlighting, and line numbers as HTML.
http://copysourceashtml.codeplex.com
It's highly configurable, and works much better than the download page would make you expect! Don't know if there is something similar for VS 2008
If you don't have the ability to add the google prettifier CSS reference, this would be a better way to go, as what you get is a complete HTML with the required style. I use it all the time on our developers wiki, and loving it.
An even better solution, if you don't want to bother installing anything, is to just use the little web app I wrote called BlogTrog CodeWindow:
http://www.blogtrog.com
It's easy to use. Just paste your code and embed the results.

Resources