Add custom plugin

This commit is contained in:
2025-06-16 20:18:05 -07:00
parent 5842309cb0
commit da77583a5d
3 changed files with 147 additions and 23 deletions

24
code.md
View File

@@ -61,27 +61,9 @@ class Person extends Thing
with Person!
.name = "MoonScript"
\say_name!
export my_func
x = 2323
collection =
height: 32434
hats: {"tophat", "bball", "bowler"}
my_func = (a) -> x + a
print my_func 100
import concat, insert from table
double_args = (...) ->
[x * 2 for x in *{...}]
tuples = [{k, v} for k,v in ipairs my_table]
```
## `CoffeeScript`
## `coffeescript`
```coffeescript
author = "Wittgenstein"
@@ -90,13 +72,13 @@ quote = "A picture is a fact. -- #{ author }"
sentence = "#{ 22 / 7 } is a decent approximation of π"
```
## `JavaScript`
## `javascript`
```javascript
let a = "what is this?"
```
## `Lua`
## `lua`
```lua
local test = "this is a string"