Skip to content

Commit d0c9b27

Browse files
committed
feat: add playground
1 parent 6911930 commit d0c9b27

File tree

7 files changed

+56
-0
lines changed

7 files changed

+56
-0
lines changed

playground/1.http

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GET https://google.com

playground/1.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
/**
4+
* shell: echo 123
5+
*/
6+
7+
/**
8+
* shell: echo 123
9+
*/
10+
// https://example.com

playground/1.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
services:
2+
http:
3+
console:
4+
# shell: echo 123
5+
- runner

playground/main.kt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env kotlin
2+
3+
/**
4+
* https://example.com
5+
*/
6+
// https://example.com
7+
8+
/**
9+
* @lang Ko
10+
*/
11+

playground/main.main.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env kotlin
2+
3+
/**
4+
* https://example.com
5+
*/
6+
// https://example.com
7+
8+
/**
9+
* @lang Ko
10+
*/
11+
12+
13+
val r =
14+
/** @lang Shell*/
15+
"echo 123;"

playground/test.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Title</title>
6+
</head>
7+
<body>
8+
<!-- shell: sleep 2;echo 1234 -->
9+
<!-- comment -->
10+
<!-- shell: /bin/bash -c "sleep 2;echo 123" -->
11+
<!-- https://jsonplaceholder.typicode.com/todos/1 -->
12+
awe
13+
</body>
14+
</html>

src/main/resources/messages/MyBundle.properties renamed to playground/test.txt

File renamed without changes.

0 commit comments

Comments
 (0)