Add markdown & style reference examples and generator
@@ -118,6 +118,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## text
|
||||
|
||||
The `text` element represents a block of text.
|
||||
@@ -218,6 +221,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## enumeration
|
||||
|
||||
The `enumeration` element represents an item in ordered lists.
|
||||
@@ -257,6 +263,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## link
|
||||
|
||||
The `link` element represents a link.
|
||||
@@ -298,6 +307,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## link_text
|
||||
|
||||
The `link_text` element represents the text associated with a link.
|
||||
@@ -371,6 +383,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## image_text
|
||||
|
||||
The `image_text` element represents the text associated with an image.
|
||||
@@ -435,6 +450,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## code_block
|
||||
|
||||
The `code_block` element represents a block of code.
|
||||
@@ -463,6 +481,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## table
|
||||
|
||||
The `table` element represents a table of data.
|
||||
@@ -497,6 +518,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## emph
|
||||
|
||||
The `emph` element represents an emphasized text.
|
||||
@@ -535,6 +559,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## strong
|
||||
|
||||
The `strong` element represents important text.
|
||||
@@ -573,6 +600,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## hr
|
||||
|
||||
The `hr` element represents a horizontal rule.
|
||||
@@ -611,6 +641,9 @@ Style:
|
||||
}
|
||||
```
|
||||
|
||||
Output:
|
||||

|
||||
|
||||
## block_quote
|
||||
## del
|
||||
## softbreak
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
This is a `code`.
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"code": {
|
||||
"color": "200"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
```
|
||||
This is a code block.
|
||||
```
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"code_block": {
|
||||
"margin": 4,
|
||||
"color": "200",
|
||||
"theme": "solarized-dark"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"document": {
|
||||
"indent": 2,
|
||||
"background_color": "234",
|
||||
"prefix": "\n",
|
||||
"suffix": "\n"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
This text is *emphasized*.
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"emph": {
|
||||
"italic": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
1. First Item
|
||||
2. Second Item
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"list": {
|
||||
"margin": 4,
|
||||
"color": "15",
|
||||
"background_color": "52"
|
||||
},
|
||||
"enumeration": {
|
||||
"prefix": ". "
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
# h1
|
||||
|
||||
## h2
|
||||
|
||||
### h3
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"heading": {
|
||||
"margin": 4,
|
||||
"color": "15",
|
||||
"background_color": "57"
|
||||
},
|
||||
"h1": {
|
||||
"prefix": "=> ",
|
||||
"suffix": " <=",
|
||||
"margin": 2,
|
||||
"bold": true,
|
||||
"background_color": "69"
|
||||
},
|
||||
"h2": {
|
||||
"prefix": "# "
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
---
|
||||
|
After Width: | Height: | Size: 357 B |
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"hr": {
|
||||
"prefix": "---"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"image": {
|
||||
"color": "123",
|
||||
"prefix": "[Image: ",
|
||||
"suffix": "]"
|
||||
},
|
||||
"image_text": {
|
||||
"color": "8"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
This is a [link](https://charm.sh).
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"link": {
|
||||
"color": "123",
|
||||
"underline": true,
|
||||
"prefix": "(",
|
||||
"suffix": ")"
|
||||
},
|
||||
"link_text": {
|
||||
"color": "123",
|
||||
"bold": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
- First Item
|
||||
- Nested List Item
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"list": {
|
||||
"margin": 4,
|
||||
"color": "15",
|
||||
"background_color": "52"
|
||||
},
|
||||
"item": {
|
||||
"prefix": "• "
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"paragraph": {
|
||||
"margin": 4,
|
||||
"color": "15",
|
||||
"background_color": "235"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
This text is **strong**.
|
||||
|
After Width: | Height: | Size: 980 B |
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"strong": {
|
||||
"bold": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
| Label | Value |
|
||||
| ------ | ----- |
|
||||
| First | foo |
|
||||
| Second | bar |
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"table": {
|
||||
"margin": 4
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"text": {
|
||||
"bold": true,
|
||||
"color": "15",
|
||||
"background_color": "57"
|
||||
}
|
||||
}
|
||||