issues Search Results · repo:wooorm/starry-night language:JavaScript
Filter by
32 results
(50 ms)32 results
inwooorm/starry-night (press backspace or delete to remove)TextMate grammars are great, but of course they re heavyweight due to their Oniguruma dependency, and regexes also run
significantly slower via the WASM binary than do native JS regexes.
I just released ...
slevithan
- 3
- Opened on Nov 8, 2024
- #48
Hi, Titus! I happened to notice that version 3.0.0 is marked as the latest, even though version 3.5.0 has already been
released. I am curious whether this is intentional or if there might have been a typo. ...
vanyauhalin
- 1
- Opened on Oct 20, 2024
- #47
Hi, I m the author of VS Code extension Blockman . In Blockman, I have implemented third-party parsers/tokenizers to get
the locations (line and column) of curly/square/round brackets and Python indent/dedent ...
leodevbro
- 3
- Opened on Aug 28, 2024
- #45
I m seeing an error with the source.regexp language, it happens with any input value except for an empty string and
seems to originate from inside oniguruma. I m not sure how to go about debugging this ...
appleton
- 6
- Opened on Jul 9, 2024
- #44
i was wondering if there was a way to identify which pattern does an item match when making custom grammer, by maybe
adding an alias property like in refractor I need to be able to group the values given ...
MahmoudWesam
- 1
- Opened on Apr 15, 2024
- #42
It d be useful to be able to grab the grammar object without copying and pasting the flagToScope algorithm. This is
useful to get metadata about the grammar, such as to display the language in a code block. ...
bencmbrook
- 2
- Opened on Apr 6, 2024
- #41
Hello, thanks for the great project!
One question: can we use a more specific scope than only the language?
In my case, I need to highlight only a code snippet for a TS declaration (e.g., string, or ...
macabeus
- 5
- Opened on Mar 27, 2024
- #40
/**
* @typedef {import( @wooorm/starry-night ).Grammar} Grammar
* @typedef {import( hast ).ElementContent} ElementContent
* @typedef {import( hast ).Root} Root
*/
/**
* @typedef Options
* Configuration ...
caihai123
- 2
- Opened on Mar 26, 2024
- #39
How do I get this working (found this straight in the starry-night README):
import { Fragment, jsx, jsxs } from react/jsx-runtime
For this line:
const reactNode = toJsxRuntime(tree, { Fragment, jsx, ...
lancejpollard
- 1
- Opened on Mar 3, 2024
- #38
link rel= stylesheet href= https://esm.sh/@wooorm/starry-night@3/style/both
from README points to 404
Sorokin-Anton
- 9
- Opened on Dec 18, 2023
- #37

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.