mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-10-28 20:18:16 -04:00
Styles can override the table's separators
This commit is contained in:
1 parent
300a999be5
commit
29ea5f002a
2 files changed
+21
-2
No files matched your search
+8
-1
@@ -78,6 +78,13 @@ type StyleList struct {
|
||||
LevelIndent uint `json:"level_indent"`
|
||||
}
|
||||
|
||||
type StyleTable struct {
|
||||
StyleBlock
|
||||
CenterSeparator *string `json:"center_separator"`
|
||||
ColumnSeparator *string `json:"column_separator"`
|
||||
RowSeparator *string `json:"row_separator"`
|
||||
}
|
||||
|
||||
type StyleConfig struct {
|
||||
Document StyleBlock `json:"document"`
|
||||
BlockQuote StyleBlock `json:"block_quote"`
|
||||
@@ -111,7 +118,7 @@ type StyleConfig struct {
|
||||
Code StyleBlock `json:"code"`
|
||||
CodeBlock StyleCodeBlock `json:"code_block"`
|
||||
|
||||
Table StyleBlock `json:"table"`
|
||||
Table StyleTable `json:"table"`
|
||||
|
||||
DefinitionList StyleBlock `json:"definition_list"`
|
||||
DefinitionTerm StylePrimitive `json:"definition_term"`
|
||||
|
||||
Reference in new issue
Block a user