Michael Schmidt
Michael Schmidt
> Is this API still in development, is feedback welcome? Still [under development](https://github.com/PrismJS/prism/issues/3539) ([current API](https://github.com/PrismJS/prism/blob/c5623b79b936f5cefd9249b03533904aec486ff9/src/types.d.ts#L116)) and yes :) The basic idea is that Prism's [tokens](https://prismjs.com/docs/Token.html), [token streams](https://prismjs.com/docs/global.html#TokenStream), [`Prism.tokenize`](https://prismjs.com/docs/Prism.html#.tokenize) are already...
> Is your full list of scopes/class names documented anywhere now? Yes, and no. We have documented our [standard tokens](https://prismjs.com/tokens.html) that are widely supported by themes and used in our...
> Is there some good way to enumerate all the languages? Not yet. Prism v2 will have a [`components` property](https://github.com/PrismJS/prism/blob/c5623b79b936f5cefd9249b03533904aec486ff9/src/core/prism.js#L23), which is a [registry](https://github.com/PrismJS/prism/blob/c5623b79b936f5cefd9249b03533904aec486ff9/src/core/registry.js#L14). Adding some function to enumerate all...
Ah, in that case, enumerating all languages should be enough.
> Actually I don't even know if Prism is ESM client-side yet We are going to be. ESM is very much planned as the only module system. We are likely...
> I'm not sure this would be a thing (or that I see the need?) Same. I just wanted to show how an API that only takes a component proto...
Will this actually look good in chainner though? Our number inputs are quite tall.
I think adding this is a bad idea. There are two reasons for this: (1) Complex implementation. These portals are equivalent to simple connections. However, they are a lot more...
> this will not solve all the problems Could you explain what problems aren't solved?
Well, yes. Not all graphs are planar, but that is just in the nature of graphs. I don't think that this is a huge problem as long as we can...