Syntax highlighting, like GitHub
[email protected]
Full Changelog: https://github.com/wooorm/starry-night/compare/3.2.0...3.3.0
Full Changelog: https://github.com/wooorm/starry-night/compare/3.1.0...3.2.0
import-meta-resolve
Full Changelog: https://github.com/wooorm/starry-night/compare/3.0.0...3.1.0
lang/
or .js
to get grammars:
-import mdx from '@wooorm/starry-night/lang/source.mdx.js'
+import mdx from '@wooorm/starry-night/source.mdx'
do not use .css
for styles eithersource.brightscript
, source.gfm
, source.vtt
migrate: use source.brs
, text.md
, and text.vtt
@types/hast
migrate: update tooRoot
type
migrate: get it from @types/hast
vscode-oniguruma
migrate: should be okFull Changelog: https://github.com/wooorm/starry-night/compare/2.2.0...3.0.0
Full Changelog: https://github.com/wooorm/starry-night/compare/2.1.1...2.2.0
.d.ts
filesFull Changelog: https://github.com/wooorm/starry-night/compare/2.1.0...2.1.1
Full Changelog: https://github.com/wooorm/starry-night/compare/2.0.0...2.1.0
(P.S. If you’re interesting in testing out an MDX grammar, please see: https://github.com/wooorm/markdown-tm-language and share feedback!)
flagToScope
. The new results match GitHub precisely, which is different in a few edge cases. For example, ```md
maps to Lisp, not markdown (this one will be fixed in the next Linguist release!)flagToScope
missingScopes()
, you might be missing a grammar that’s neededFull Changelog: https://github.com/wooorm/starry-night/compare/1.7.0...2.0.0
vscode-textmate
whileCaptures
Full Changelog: https://github.com/wooorm/starry-night/compare/1.6.0...1.7.0
vscode-textmate
Full Changelog: https://github.com/wooorm/starry-night/compare/1.5.0...1.6.0