multihack / multihack-web

Realtime collaboration for programmers. (Web Version)
https://multihack.github.io/multihack-web/
MIT License
93 stars 18 forks source link

Add/remove syntax support #40

Open t-mullen opened 7 years ago

t-mullen commented 7 years ago

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.

tweakimp commented 7 years ago

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

t-mullen commented 7 years ago

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".

tweakimp commented 7 years ago

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

t-mullen commented 7 years ago

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.

tweakimp commented 7 years ago

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