Josh Goebel

Results 1696 comments of Josh Goebel

> My grammar addons have a full-blown PEG-like parser of their own. If that's true then you don't really need 99% of HLJS. You could use merely the new TokenTree...

> that was a bit hacky so that is why I asked if a better more modular way exists which is not so hacky. And the new way is using...

Closing this issue - it never really received a lot of discussion. The new API callbacks for `highlight` and `highlightBlock` should make attempting this sort of thing much simpler in...

> I was also considering using @foo123's [highlightjs-grammar](https://github.com/foo123/highlightjs-grammar) Interesting tool... though personally I'm far more interested in integration at runtime, like if perhaps we could all agree on some type...

@RunDevelopment Would you have any thoughts on this? Such as if Prism.js [for example] implemented our own `Emitter` API as an intermediate layer... then one could ask Prism.js to do...

> This API is very simple. It's essentially just a function (code: string) => TokenStream (simplified) Is this API still in development, is feedback welcome? I already shared our API...

@RunDevelopment Is your full list of scopes/class names documented anywhere now? I think we'd just need to work on a mapping table of our scopes to your class names. >...

> Not a perfect approach, but it should be a good start. Could you possibly provide some actual examples for your 20% edge cases? When would you have multiple or...

@RunDevelopment Any chance we could talk you into adding some actual metadata to your own grammars in v2 like languages name, common extensions, etc? :-) Otherwise it's probably going to...

> What does HLJS use titles for anyway? User convenience and completeness? LOL. I think they got added because I wanted to use them in the UI of a project....