mirror of
https://github.com/maaslalani/slides.git
synced 2026-01-10 06:48:01 -05:00
Add integration tests for custom themes
This commit is contained in:
7
examples/custom_theme.md
Normal file
7
examples/custom_theme.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
theme: ./examples/theme.json
|
||||
---
|
||||
|
||||
# Slides
|
||||
|
||||
The above title should be orange and be prefixed with `CUSTOM`.
|
||||
103
examples/theme.json
Normal file
103
examples/theme.json
Normal file
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"document": {
|
||||
"block_prefix": "\n",
|
||||
"block_suffix": "\n",
|
||||
"color": "252",
|
||||
"margin": 2
|
||||
},
|
||||
"block_quote": {
|
||||
"indent": 1,
|
||||
"indent_token": "│ "
|
||||
},
|
||||
"paragraph": {},
|
||||
"list": {
|
||||
"level_indent": 2
|
||||
},
|
||||
"heading": {
|
||||
"block_suffix": "\n",
|
||||
"color": "39",
|
||||
"bold": true
|
||||
},
|
||||
"h1": {
|
||||
"prefix": "CUSTOM ",
|
||||
"suffix": " ",
|
||||
"color": "#fa0",
|
||||
"bold": true
|
||||
},
|
||||
"h2": {
|
||||
"prefix": "▓▓▓ ",
|
||||
"color": "#1cc"
|
||||
},
|
||||
"h3": {
|
||||
"prefix": "▒▒▒▒ ",
|
||||
"color": "#29c"
|
||||
},
|
||||
"h4": {
|
||||
"color": "#559",
|
||||
"prefix": "░░░░░ "
|
||||
},
|
||||
"h5": {},
|
||||
"h6": {},
|
||||
"text": {},
|
||||
"strikethrough": {
|
||||
"crossed_out": true
|
||||
},
|
||||
"emph": {
|
||||
"italic": true
|
||||
},
|
||||
"strong": {
|
||||
"bold": true
|
||||
},
|
||||
"hr": {
|
||||
"color": "240",
|
||||
"format": "\n--------\n"
|
||||
},
|
||||
"item": {
|
||||
"block_prefix": "• "
|
||||
},
|
||||
"enumeration": {
|
||||
"block_prefix": ". "
|
||||
},
|
||||
"task": {
|
||||
"ticked": "[✓] ",
|
||||
"unticked": "[ ] "
|
||||
},
|
||||
"link": {
|
||||
"color": "30",
|
||||
"underline": true
|
||||
},
|
||||
"link_text": {
|
||||
"color": "35",
|
||||
"bold": true
|
||||
},
|
||||
"image": {
|
||||
"color": "212",
|
||||
"underline": true
|
||||
},
|
||||
"image_text": {
|
||||
"color": "243",
|
||||
"format": "Image: {{.text}} →"
|
||||
},
|
||||
"code": {
|
||||
"prefix": " ",
|
||||
"suffix": " ",
|
||||
"color": "203",
|
||||
"background_color": "236"
|
||||
},
|
||||
"code_block": {
|
||||
"theme": "dracula",
|
||||
"margin": 2
|
||||
},
|
||||
"table": {
|
||||
"center_separator": "┼",
|
||||
"column_separator": "│",
|
||||
"row_separator": "─"
|
||||
},
|
||||
"definition_list": {},
|
||||
"definition_term": {},
|
||||
"definition_description": {
|
||||
"block_prefix": "\n🠶 "
|
||||
},
|
||||
"html_block": {},
|
||||
"html_span": {}
|
||||
}
|
||||
Reference in New Issue
Block a user