Skip to content

Commit

Permalink
doc: extract code as project (#337)
Browse files Browse the repository at this point in the history
* doc: extract code as project

* doc: extract more code

* doc: extract more code

* extract more code

* doc: extract more code

* fix: update error message

* fix: typo
  • Loading branch information
peter-jerry-ye authored Dec 3, 2024
1 parent 2f7c6f8 commit 9a8ef1d
Show file tree
Hide file tree
Showing 61 changed files with 2,764 additions and 1,213 deletions.
2 changes: 1 addition & 1 deletion next/_ext/lexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class MoonBitLexer(RegexLexer):
'root': [
(r"//.*$", token.Comment.Single),
(r"b?\'.*\'", token.Literal),
(r"(#\|)(.*)$", bygroups(token.Punctuation, token.String)),
(r"#\|.*$", token.String),
(r"(b)(\")", bygroups(token.String.Affix, token.String), "string.inline"),
("\"", token.String, "string.inline"),
(r"\$\|", token.String, "string.multiline"),
Expand Down
Loading

0 comments on commit 9a8ef1d

Please sign in to comment.