-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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
Feature/more languages #588
Conversation
That's cool you updated it!
I used what seemed to be the most official name. |
Which languages were added as part of this? If the languages are uncommon I'm not sure they merit the tripled file size. |
Hi, All languages. If you give me a list of what languages you want added (and I want F# added - it's a common enough language) - I can regenerate the built highlight.js file. On 5 sep 2013, at 14:33, Hakim El Hattab notifications@github.com wrote:
|
Sure, the current list is:
How about adding:
|
+1 on adding more languages. I would personally suggest adding everything highlight.js supports as the filesize won't be incredibly big and if someone really needs this sort of micro-optimization they will probably be either inclined towards different kinds of solutions anyway or be able to easily swap the highlight.js to a smaller, more optimized version by downloading it from the website and replacing the file in plugin directory. |
I agree with Walther, it's a small size to get a lot of support. I haven't had time to redo this PR yet. |
Would be nice to add at least a link on how to do so please:
|
That packager doesn't work because it doesn't include bugfixes nor newer languages that have been in git the last year (approx). |
|
Hi everyone. I frankly don't see hosting pre-built modules as a "correct" way of solving this (or any) problem. This adds a whole new structural element to highlight.js that has to be maintained and also unnecessary binds it to GitHub. To use an upstream library in a custom way it's customary to build it outside of upstream. You could build highlight.js in whatever way you need every time reveal.js is updating. Having said that, I will probably include more languages into the hosted "common" set on the next release but I don't have a final list of those languages and unfortunately can't even roughly estimate when this might happen (which is why depending on another project's schedule is usually not a good idea anyway). |
Went ahead and merged this in – with all languages supported by highlight.js. |
Hi,
I added the latest highlight.js to the project.