Add markdown & style reference examples and generator

This commit is contained in:
Christian Muehlhaeuser
2019-12-07 08:51:17 +01:00
parent 9d63f7125d
commit c9247397ec
38 changed files with 181 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
This is a `code`.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

+5
View File
@@ -0,0 +1,5 @@
{
"code": {
"color": "200"
}
}
+3
View File
@@ -0,0 +1,3 @@
```
This is a code block.
```
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

+7
View File
@@ -0,0 +1,7 @@
{
"code_block": {
"margin": 4,
"color": "200",
"theme": "solarized-dark"
}
}
+8
View File
@@ -0,0 +1,8 @@
{
"document": {
"indent": 2,
"background_color": "234",
"prefix": "\n",
"suffix": "\n"
}
}
+1
View File
@@ -0,0 +1 @@
This text is *emphasized*.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

+5
View File
@@ -0,0 +1,5 @@
{
"emph": {
"italic": true
}
}
+2
View File
@@ -0,0 +1,2 @@
1. First Item
2. Second Item
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

+10
View File
@@ -0,0 +1,10 @@
{
"list": {
"margin": 4,
"color": "15",
"background_color": "52"
},
"enumeration": {
"prefix": ". "
}
}
+5
View File
@@ -0,0 +1,5 @@
# h1
## h2
### h3
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

+17
View File
@@ -0,0 +1,17 @@
{
"heading": {
"margin": 4,
"color": "15",
"background_color": "57"
},
"h1": {
"prefix": "=> ",
"suffix": " <=",
"margin": 2,
"bold": true,
"background_color": "69"
},
"h2": {
"prefix": "# "
}
}
+1
View File
@@ -0,0 +1 @@
---
Binary file not shown.

After

Width:  |  Height:  |  Size: 357 B

+5
View File
@@ -0,0 +1,5 @@
{
"hr": {
"prefix": "---"
}
}
+1
View File
@@ -0,0 +1 @@
![Image](https://charm.sh/logo.png).
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

+10
View File
@@ -0,0 +1,10 @@
{
"image": {
"color": "123",
"prefix": "[Image: ",
"suffix": "]"
},
"image_text": {
"color": "8"
}
}
+1
View File
@@ -0,0 +1 @@
This is a [link](https://charm.sh).
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

+12
View File
@@ -0,0 +1,12 @@
{
"link": {
"color": "123",
"underline": true,
"prefix": "(",
"suffix": ")"
},
"link_text": {
"color": "123",
"bold": true
}
}
+2
View File
@@ -0,0 +1,2 @@
- First Item
- Nested List Item
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

+10
View File
@@ -0,0 +1,10 @@
{
"list": {
"margin": 4,
"color": "15",
"background_color": "52"
},
"item": {
"prefix": "• "
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"paragraph": {
"margin": 4,
"color": "15",
"background_color": "235"
}
}
+1
View File
@@ -0,0 +1 @@
This text is **strong**.
Binary file not shown.

After

Width:  |  Height:  |  Size: 980 B

+5
View File
@@ -0,0 +1,5 @@
{
"strong": {
"bold": true
}
}
+4
View File
@@ -0,0 +1,4 @@
| Label | Value |
| ------ | ----- |
| First | foo |
| Second | bar |
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

+5
View File
@@ -0,0 +1,5 @@
{
"table": {
"margin": 4
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"text": {
"bold": true,
"color": "15",
"background_color": "57"
}
}