multihack-web icon indicating copy to clipboard operation
multihack-web copied to clipboard

Add/remove syntax support

Open t-mullen opened this issue 8 years ago • 5 comments

Currently comes packaged with XML, CSS, and Javascript support.

User should be able to add/remove languages, and these Codemirror mixins should be loaded/deleted dynamically.

Multihack should NOT just be for web languages.

t-mullen avatar Apr 27 '17 20:04 t-mullen

I am not sure if this is a problem, but how does the code coloring work for a multihack-foreign language?

tweakimp avatar Apr 28 '17 01:04 tweakimp

I don't think the syntax highlighting will be affected by a change in language. ie) It just sees Javascript, whether that be "English Javascript" or "German Javascript".

t-mullen avatar Apr 28 '17 01:04 t-mullen

Oh I thought you meant another code language, like pearl, c++, or php

tweakimp avatar Apr 28 '17 01:04 tweakimp

I do. I'm not sure what you mean then.

Syntax highlighting is just provided by Codemirror plugins. I want to let the user decide which plugins they load. So they can use PHP or Python with colours.

t-mullen avatar Apr 28 '17 01:04 t-mullen

Yeah I meant the syntax highlighting... Ok x)

tweakimp avatar Apr 28 '17 01:04 tweakimp