-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanual-test.html
87 lines (73 loc) · 2.34 KB
/
manual-test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Chrimson Green Test</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/markdown-it.min.js" charset="utf-8"></script>
<script type="module" src="./index.js" charset="utf-8"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/vanillawc/[email protected]/src/wc-code.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
chrimson-green{
display:block;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
font-family: "Open Sans", sans-serif;
}
</style>
</head>
<body>
<chrimson-green unsafe><script type=x>
# Chrimson green test
# Header 1
## header 2
### header 3
#### header 4
**bold text lmao**
```python
def foo():
print("hi boya")
foo()
```
```python
def bar():
print("hey boya")
bar()
```
```javascript
function main(){
console.log("hello boya")
}
main()
```
```cg-youtube
url : https://www.youtube.com/watch?v=9g-6RkMpknQ
```
```cg-youtube
url : https://www.youtube.com/watch?v=9g-6RkMpknQ
ratio : 2
```
```cg-youtube
height : 500
ratio : 2
url : https://www.youtube.com/watch?v=9g-6RkMpknQ
```
```cg-youtube
width : 800
height : 500
url : https://www.youtube.com/watch?v=9g-6RkMpknQ
```
```cg-youtube
width : 400
height : 200
url : https://www.youtube.com/watch?v=9g-6RkMpknQ
```
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/yYUVf5ITMik" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
below thing is rendered using `src` attribute
</script></chrimson-green>
<chrimson-green src="./README.md"></chrimson-green>
<chrimson-green unsafe src="./test/MarkdownTest2.md"></chrimson-green>
</body>
</html>