mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 00:47:15 -04:00
Add syntax language to fenced code blocks
This commit is contained in:
+26
-26
@@ -40,7 +40,7 @@ The `document` element represents the markdown's body.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"document": {
|
"document": {
|
||||||
"indent": 2,
|
"indent": 2,
|
||||||
"background_color": "234",
|
"background_color": "234",
|
||||||
@@ -59,7 +59,7 @@ The `paragraph` element represents a paragraph in the document.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"paragraph": {
|
"paragraph": {
|
||||||
"margin": 4,
|
"margin": 4,
|
||||||
"color": "15",
|
"color": "15",
|
||||||
@@ -83,7 +83,7 @@ from the `heading` element.
|
|||||||
|
|
||||||
Markdown:
|
Markdown:
|
||||||
|
|
||||||
```
|
```markdown
|
||||||
# h1
|
# h1
|
||||||
|
|
||||||
## h2
|
## h2
|
||||||
@@ -93,7 +93,7 @@ Markdown:
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"heading": {
|
"heading": {
|
||||||
"color": "15",
|
"color": "15",
|
||||||
"background_color": "57"
|
"background_color": "57"
|
||||||
@@ -129,7 +129,7 @@ The `block_quote` element represents a quote.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"block_quote": {
|
"block_quote": {
|
||||||
"color": "200"
|
"color": "200"
|
||||||
}
|
}
|
||||||
@@ -153,7 +153,7 @@ The `list` element represents a list in the document.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"list": {
|
"list": {
|
||||||
"color": "15",
|
"color": "15",
|
||||||
"background_color": "52",
|
"background_color": "52",
|
||||||
@@ -177,7 +177,7 @@ The `code_block` element represents a block of code.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"code_block": {
|
"code_block": {
|
||||||
"color": "200",
|
"color": "200",
|
||||||
"theme": "solarized-dark"
|
"theme": "solarized-dark"
|
||||||
@@ -198,7 +198,7 @@ The `table` element represents a table of data.
|
|||||||
|
|
||||||
Markdown:
|
Markdown:
|
||||||
|
|
||||||
```
|
```markdown
|
||||||
| Label | Value |
|
| Label | Value |
|
||||||
| ------ | ----- |
|
| ------ | ----- |
|
||||||
| First | foo |
|
| First | foo |
|
||||||
@@ -207,7 +207,7 @@ Markdown:
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"table": {
|
"table": {
|
||||||
"margin": 4
|
"margin": 4
|
||||||
}
|
}
|
||||||
@@ -247,7 +247,7 @@ The `text` element represents a block of text.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"text": {
|
"text": {
|
||||||
"bold": true,
|
"bold": true,
|
||||||
"color": "15",
|
"color": "15",
|
||||||
@@ -265,7 +265,7 @@ The `item` element represents an item in a list.
|
|||||||
|
|
||||||
Markdown:
|
Markdown:
|
||||||
|
|
||||||
```
|
```markdown
|
||||||
- First Item
|
- First Item
|
||||||
- Nested List Item
|
- Nested List Item
|
||||||
- Second Item
|
- Second Item
|
||||||
@@ -273,7 +273,7 @@ Markdown:
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"item": {
|
"item": {
|
||||||
"block_prefix": "• "
|
"block_prefix": "• "
|
||||||
}
|
}
|
||||||
@@ -293,14 +293,14 @@ The `enumeration` element represents an item in an ordered list.
|
|||||||
|
|
||||||
Markdown:
|
Markdown:
|
||||||
|
|
||||||
```
|
```markdown
|
||||||
1. First Item
|
1. First Item
|
||||||
2. Second Item
|
2. Second Item
|
||||||
```
|
```
|
||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"enumeration": {
|
"enumeration": {
|
||||||
"block_prefix": ". "
|
"block_prefix": ". "
|
||||||
}
|
}
|
||||||
@@ -325,14 +325,14 @@ The `task` element represents a task item.
|
|||||||
|
|
||||||
Markdown:
|
Markdown:
|
||||||
|
|
||||||
```
|
```markdown
|
||||||
- [x] Finished Task
|
- [x] Finished Task
|
||||||
- [ ] Outstanding Task
|
- [ ] Outstanding Task
|
||||||
```
|
```
|
||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"task": {
|
"task": {
|
||||||
"ticked": "✓ ",
|
"ticked": "✓ ",
|
||||||
"unticked": "✗ "
|
"unticked": "✗ "
|
||||||
@@ -353,13 +353,13 @@ The `link` element represents a link.
|
|||||||
|
|
||||||
Markdown:
|
Markdown:
|
||||||
|
|
||||||
```
|
```markdown
|
||||||
This is a [link](https://charm.sh).
|
This is a [link](https://charm.sh).
|
||||||
```
|
```
|
||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"link": {
|
"link": {
|
||||||
"color": "123",
|
"color": "123",
|
||||||
"underline": true,
|
"underline": true,
|
||||||
@@ -382,7 +382,7 @@ The `link_text` element represents the text associated with a link.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"link_text": {
|
"link_text": {
|
||||||
"color": "123",
|
"color": "123",
|
||||||
"bold": true
|
"bold": true
|
||||||
@@ -399,13 +399,13 @@ The `image` element represents an image.
|
|||||||
|
|
||||||
Markdown:
|
Markdown:
|
||||||
|
|
||||||
```
|
```markdown
|
||||||
.
|
.
|
||||||
```
|
```
|
||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"image": {
|
"image": {
|
||||||
"color": "123",
|
"color": "123",
|
||||||
"block_prefix": "[Image: ",
|
"block_prefix": "[Image: ",
|
||||||
@@ -427,7 +427,7 @@ The `image_text` element represents the text associated with an image.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"image_text": {
|
"image_text": {
|
||||||
"color": "8"
|
"color": "8"
|
||||||
}
|
}
|
||||||
@@ -443,7 +443,7 @@ The `code` element represents an inline code segment.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"code": {
|
"code": {
|
||||||
"color": "200"
|
"color": "200"
|
||||||
}
|
}
|
||||||
@@ -469,7 +469,7 @@ This text is *emphasized*.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"emph": {
|
"emph": {
|
||||||
"italic": true
|
"italic": true
|
||||||
}
|
}
|
||||||
@@ -495,7 +495,7 @@ This text is **strong**.
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"strong": {
|
"strong": {
|
||||||
"bold": true
|
"bold": true
|
||||||
}
|
}
|
||||||
@@ -521,7 +521,7 @@ Markdown:
|
|||||||
|
|
||||||
Style:
|
Style:
|
||||||
|
|
||||||
```
|
```json
|
||||||
"hr": {
|
"hr": {
|
||||||
"block_prefix": "---"
|
"block_prefix": "---"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user