mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-28 04:46:41 -04:00
(Markdown) Fix definitions lists, set color for HR, images
This commit is contained in:
+15
-13
@@ -8,7 +8,7 @@ func glamourStyle(styleName string) []byte {
|
|||||||
"document": {
|
"document": {
|
||||||
"block_prefix": "\n",
|
"block_prefix": "\n",
|
||||||
"block_suffix": "\n",
|
"block_suffix": "\n",
|
||||||
"color": "#ebdbb2",
|
"color": "#EBDBB2",
|
||||||
"margin": 0
|
"margin": 0
|
||||||
},
|
},
|
||||||
"block_quote": {
|
"block_quote": {
|
||||||
@@ -29,12 +29,12 @@ func glamourStyle(styleName string) []byte {
|
|||||||
"prefix": "──────",
|
"prefix": "──────",
|
||||||
"suffix": "──────",
|
"suffix": "──────",
|
||||||
"color": "#FBF1C7",
|
"color": "#FBF1C7",
|
||||||
"background_color": "#b16286"
|
"background_color": "#B16286"
|
||||||
},
|
},
|
||||||
"h2": {
|
"h2": {
|
||||||
"prefix": "+++++",
|
"prefix": "+++++",
|
||||||
"suffix": "+++++",
|
"suffix": "+++++",
|
||||||
"color": "#689d6a"
|
"color": "#689D6A"
|
||||||
},
|
},
|
||||||
"h3": {
|
"h3": {
|
||||||
"prefix": "────",
|
"prefix": "────",
|
||||||
@@ -44,17 +44,17 @@ func glamourStyle(styleName string) []byte {
|
|||||||
"h4": {
|
"h4": {
|
||||||
"prefix": "+++",
|
"prefix": "+++",
|
||||||
"suffix": "+++",
|
"suffix": "+++",
|
||||||
"color": "#d79921"
|
"color": "#D79921"
|
||||||
},
|
},
|
||||||
"h5": {
|
"h5": {
|
||||||
"prefix": "──",
|
"prefix": "──",
|
||||||
"suffix": "──",
|
"suffix": "──",
|
||||||
"color": "#98971a"
|
"color": "#98971A"
|
||||||
},
|
},
|
||||||
"h6": {
|
"h6": {
|
||||||
"prefix": "+",
|
"prefix": "+",
|
||||||
"suffix": "+",
|
"suffix": "+",
|
||||||
"color": "#cc241d"
|
"color": "#CC241D"
|
||||||
},
|
},
|
||||||
"text": {},
|
"text": {},
|
||||||
"strikethrough": {
|
"strikethrough": {
|
||||||
@@ -67,7 +67,7 @@ func glamourStyle(styleName string) []byte {
|
|||||||
"bold": true
|
"bold": true
|
||||||
},
|
},
|
||||||
"hr": {
|
"hr": {
|
||||||
"color": "246",
|
"color": "#7C6F64",
|
||||||
"format": "\n` + strings.Repeat(quarterHRString, 4) + `\n"
|
"format": "\n` + strings.Repeat(quarterHRString, 4) + `\n"
|
||||||
},
|
},
|
||||||
"item": {
|
"item": {
|
||||||
@@ -81,19 +81,19 @@ func glamourStyle(styleName string) []byte {
|
|||||||
"unticked": "[ ] "
|
"unticked": "[ ] "
|
||||||
},
|
},
|
||||||
"link": {
|
"link": {
|
||||||
"color": "108",
|
"color": "#427B58",
|
||||||
"underline": true
|
"underline": true
|
||||||
},
|
},
|
||||||
"link_text": {
|
"link_text": {
|
||||||
"color": "72",
|
"color": "#8EC07C",
|
||||||
"bold": true
|
"bold": true
|
||||||
},
|
},
|
||||||
"image": {
|
"image": {
|
||||||
"color": "208",
|
"color": "#AF3A03",
|
||||||
"underline": true
|
"underline": true
|
||||||
},
|
},
|
||||||
"image_text": {
|
"image_text": {
|
||||||
"color": "246",
|
"color": "#FE8019",
|
||||||
"format": "Image: {{.text}} →"
|
"format": "Image: {{.text}} →"
|
||||||
},
|
},
|
||||||
"code": {
|
"code": {
|
||||||
@@ -173,7 +173,7 @@ func glamourStyle(styleName string) []byte {
|
|||||||
"color": "#B8BB26"
|
"color": "#B8BB26"
|
||||||
},
|
},
|
||||||
"literal_string_escape": {
|
"literal_string_escape": {
|
||||||
"color": "#AFFFD7"
|
"color": "#FE8019"
|
||||||
},
|
},
|
||||||
"generic_deleted": {
|
"generic_deleted": {
|
||||||
"color": "#FD5B5B"
|
"color": "#FD5B5B"
|
||||||
@@ -201,7 +201,9 @@ func glamourStyle(styleName string) []byte {
|
|||||||
"row_separator": "─"
|
"row_separator": "─"
|
||||||
},
|
},
|
||||||
"definition_list": {},
|
"definition_list": {},
|
||||||
"definition_term": {},
|
"definition_term": {
|
||||||
|
"block_suffix": "\n"
|
||||||
|
},
|
||||||
"definition_description": {
|
"definition_description": {
|
||||||
"block_prefix": "\n🠶 "
|
"block_prefix": "\n🠶 "
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user