mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-05 08:37:20 -04:00
(Markdown) Add new, more consistent header design
This commit is contained in:
+21
-14
@@ -26,31 +26,39 @@ func glamourStyle(styleName string) []byte {
|
|||||||
},
|
},
|
||||||
"heading": {
|
"heading": {
|
||||||
"block_suffix": "\n",
|
"block_suffix": "\n",
|
||||||
"color": "#b16286",
|
|
||||||
"bold": true
|
"bold": true
|
||||||
},
|
},
|
||||||
"h1": {
|
"h1": {
|
||||||
"prefix": " ",
|
"prefix": "──────",
|
||||||
"suffix": " ",
|
"suffix": "──────",
|
||||||
"color": "#b16286",
|
"color": "#689d6a",
|
||||||
"background_color": "229",
|
"background_color": "#fbf1c7"
|
||||||
"bold": true
|
|
||||||
},
|
},
|
||||||
"h2": {
|
"h2": {
|
||||||
"prefix": "## "
|
"prefix": "+++++",
|
||||||
|
"suffix": "+++++",
|
||||||
|
"color": "#b16286",
|
||||||
|
"background_color": "#fbf1c7"
|
||||||
},
|
},
|
||||||
"h3": {
|
"h3": {
|
||||||
"prefix": "### "
|
"prefix": "────",
|
||||||
|
"suffix": "────",
|
||||||
|
"color": "#458588"
|
||||||
},
|
},
|
||||||
"h4": {
|
"h4": {
|
||||||
"prefix": "#### "
|
"prefix": "+++",
|
||||||
|
"suffix": "+++",
|
||||||
|
"color": "#d79921"
|
||||||
},
|
},
|
||||||
"h5": {
|
"h5": {
|
||||||
"prefix": "##### "
|
"prefix": "──",
|
||||||
|
"suffix": "──",
|
||||||
|
"color": "#98971a"
|
||||||
},
|
},
|
||||||
"h6": {
|
"h6": {
|
||||||
"prefix": "###### ",
|
"prefix": "+",
|
||||||
"bold": false
|
"suffix": "+",
|
||||||
|
"color": "#cc241d"
|
||||||
},
|
},
|
||||||
"text": {},
|
"text": {},
|
||||||
"strikethrough": {
|
"strikethrough": {
|
||||||
@@ -203,8 +211,7 @@ func glamourStyle(styleName string) []byte {
|
|||||||
},
|
},
|
||||||
"html_block": {},
|
"html_block": {},
|
||||||
"html_span": {}
|
"html_span": {}
|
||||||
}
|
}`)
|
||||||
`)
|
|
||||||
} else {
|
} else {
|
||||||
return []byte(`{}`) // TODO add Go color scheme
|
return []byte(`{}`) // TODO add Go color scheme
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user