mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 00:47:15 -04:00
Use margins at the document level (versus indent) in default styles (#67)
* Use margins at the document level (versus indent) in default styles * Fix tests per the style changes in the previous commit
This commit is contained in:
@@ -14,7 +14,7 @@ var (
|
||||
BlockPrefix: "\n",
|
||||
BlockSuffix: "\n",
|
||||
},
|
||||
Indent: uintPtr(2),
|
||||
Margin: uintPtr(2),
|
||||
},
|
||||
BlockQuote: ansi.StyleBlock{
|
||||
StylePrimitive: ansi.StylePrimitive{},
|
||||
@@ -122,7 +122,7 @@ var (
|
||||
BlockSuffix: "\n",
|
||||
Color: stringPtr("252"),
|
||||
},
|
||||
Indent: uintPtr(2),
|
||||
Margin: uintPtr(2),
|
||||
},
|
||||
BlockQuote: ansi.StyleBlock{
|
||||
StylePrimitive: ansi.StylePrimitive{},
|
||||
@@ -335,7 +335,7 @@ var (
|
||||
BlockSuffix: "\n",
|
||||
Color: stringPtr("234"),
|
||||
},
|
||||
Indent: uintPtr(2),
|
||||
Margin: uintPtr(2),
|
||||
},
|
||||
BlockQuote: ansi.StyleBlock{
|
||||
StylePrimitive: ansi.StylePrimitive{},
|
||||
@@ -546,7 +546,7 @@ var (
|
||||
BlockPrefix: "\n",
|
||||
BlockSuffix: "\n",
|
||||
},
|
||||
Indent: uintPtr(2),
|
||||
Margin: uintPtr(2),
|
||||
},
|
||||
BlockQuote: ansi.StyleBlock{
|
||||
StylePrimitive: ansi.StylePrimitive{},
|
||||
|
||||
Reference in New Issue
Block a user