Syntax highlighting for ImageJ1 macros

forum
macro
Tags: #<Tag:0x00007fb87bab6b30> #<Tag:0x00007fb87bab69f0>

#1

Hi all,

I just had a posting with macro code corrected by @imagejan (thanks for that!) for the what feels like hundredth time. He correctly points out that javascript is a good fit for the syntax of the macro language.

Does Discourse somehow offer the possibility to introduce aliases for languages of code blocks, e.g. macro in that case?

Best,
Stefan


#2

See also:


#3

For now, please just use:

 ```javascript

I do not have time to mess around with Discourse just to save a few characters of typing. Most people are not savvy enough to use the triple backtick syntax at all, much less give the language hint. So the moderators will always be stuck editing posts to beautify them regardless.

#4

A post was split to a new topic: bioSyntax support for ImageJ 1.x macro language