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:
Christian Rocha
2020-05-21 17:03:59 +02:00
committed by GitHub
parent fe80668412
commit e859bb067c
12 changed files with 91 additions and 89 deletions
+4 -4
View File
@@ -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{},