Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/remove syntax support #40

Open
t-mullen opened this issue Apr 27, 2017 · 5 comments
Open

Add/remove syntax support #40

t-mullen opened this issue Apr 27, 2017 · 5 comments
Labels

Comments

@t-mullen
Copy link
Member

t-mullen commented Apr 27, 2017

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 t-mullen changed the title User-set language support Add/remove language support Apr 27, 2017
@tweakimp
Copy link

tweakimp commented Apr 28, 2017

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

@t-mullen
Copy link
Member Author

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
Copy link

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

@t-mullen
Copy link
Member Author

t-mullen commented Apr 28, 2017

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
Copy link

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

@t-mullen t-mullen removed the BETA label May 1, 2017
@t-mullen t-mullen changed the title Add/remove language support Add/remove syntax support May 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants