docgen: render 'interpreted text' the same as inline literals for markdown compat
This commit is contained in:
parent
b0979c8b1c
commit
c3d80647ae
1 changed files with 1 additions and 3 deletions
|
|
@ -1134,11 +1134,9 @@ proc renderRstToOut(d: PDoc, n: PRstNode, result: var string) =
|
||||||
of rnTripleEmphasis:
|
of rnTripleEmphasis:
|
||||||
renderAux(d, n, "<strong><em>$1</em></strong>",
|
renderAux(d, n, "<strong><em>$1</em></strong>",
|
||||||
"\\textbf{emph{$1}}", result)
|
"\\textbf{emph{$1}}", result)
|
||||||
of rnInterpretedText:
|
|
||||||
renderAux(d, n, "<cite>$1</cite>", "\\emph{$1}", result)
|
|
||||||
of rnIdx:
|
of rnIdx:
|
||||||
renderIndexTerm(d, n, result)
|
renderIndexTerm(d, n, result)
|
||||||
of rnInlineLiteral:
|
of rnInlineLiteral, rnInterpretedText:
|
||||||
renderAux(d, n,
|
renderAux(d, n,
|
||||||
"<tt class=\"docutils literal\"><span class=\"pre\">$1</span></tt>",
|
"<tt class=\"docutils literal\"><span class=\"pre\">$1</span></tt>",
|
||||||
"\\texttt{$1}", result)
|
"\\texttt{$1}", result)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue