-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional "u" to "lua" for markdown comments (#16)
- Loading branch information
1 parent
95aae66
commit 050f326
Showing
5 changed files
with
124 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
original file | ||
----------------------------------- | ||
--[[ | ||
```luau | ||
local abc: number = 1 | ||
print(abc) | ||
``` | ||
]] | ||
|
||
--[[ | ||
```lua | ||
local abc: number = 1 | ||
print(abc) | ||
``` | ||
]] | ||
|
||
----------------------------------- | ||
|
||
>--[[ | ||
^^^^ | ||
source.luau comment.block.luau | ||
>```luau | ||
^^^^^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau comment.luau | ||
>local abc: number = 1 | ||
^^^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau storage.modifier.local.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau | ||
^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau variable.other.readwrite.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau keyword.operator.type.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau | ||
^^^^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau support.type.primitive.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau keyword.operator.assignment.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau constant.numeric.decimal.luau | ||
>print(abc) | ||
^^^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau support.function.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau punctuation.arguments.begin.luau | ||
^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau variable.other.readwrite.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau punctuation.arguments.end.luau | ||
>``` | ||
^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau comment.luau | ||
>]] | ||
^^ | ||
source.luau comment.block.luau | ||
> | ||
^ | ||
source.luau | ||
>--[[ | ||
^^^^ | ||
source.luau comment.block.luau | ||
>```lua | ||
^^^^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau comment.luau | ||
>local abc: number = 1 | ||
^^^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau storage.modifier.local.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau | ||
^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau variable.other.readwrite.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau keyword.operator.type.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau | ||
^^^^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau support.type.primitive.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau keyword.operator.assignment.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau constant.numeric.decimal.luau | ||
>print(abc) | ||
^^^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau support.function.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau punctuation.arguments.begin.luau | ||
^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau variable.other.readwrite.luau | ||
^ | ||
source.luau comment.block.luau keyword.operator.other.luau punctuation.arguments.end.luau | ||
>``` | ||
^^^ | ||
source.luau comment.block.luau keyword.operator.other.luau comment.luau | ||
>]] | ||
^^ | ||
source.luau comment.block.luau | ||
> | ||
^ | ||
source.luau |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--[[ | ||
```luau | ||
local abc: number = 1 | ||
print(abc) | ||
``` | ||
]] | ||
|
||
--[[ | ||
```lua | ||
local abc: number = 1 | ||
print(abc) | ||
``` | ||
]] |