You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when using code blocks in Affine, we can specify the language to get syntax highlighting. For JavaScript, we use js or javascript. However, it would be beneficial to add node as an alias for JavaScript,
The text was updated successfully, but these errors were encountered:
No, just like what antfu is mentioned in the shikijs, nodejs is a runtime rather than a language.
There can be many runtimes for a single language and there can be runtimes that can run multiple languages.
If we are following the same logic and add all of these to BlockSuite, it will be a mess.
Currently, when using code blocks in Affine, we can specify the language to get syntax highlighting. For JavaScript, we use js or javascript. However, it would be beneficial to add node as an alias for JavaScript,
The text was updated successfully, but these errors were encountered: