rst: minor fixes (#18960)
This commit is contained in:
parent
b2873f0f63
commit
f03872d99e
4 changed files with 5 additions and 4 deletions
|
|
@ -1164,7 +1164,7 @@ proc renderAdmonition(d: PDoc, n: PRstNode, result: var string) =
|
|||
case n.adType
|
||||
of "hint", "note", "tip":
|
||||
htmlCls = "admonition-info"; texSz = "\\normalsize"; texColor = "green"
|
||||
of "attention", "admonition", "important", "warning":
|
||||
of "attention", "admonition", "important", "warning", "caution":
|
||||
htmlCls = "admonition-warning"; texSz = "\\large"; texColor = "orange"
|
||||
of "danger", "error":
|
||||
htmlCls = "admonition-error"; texSz = "\\Large"; texColor = "red"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue