RST reader: handle sourcecode directive as synonynm for code.
Closes #5204.
This commit is contained in:
parent
599327bee1
commit
230e07ddfc
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ directive' = do
|
|||
case trim top of
|
||||
"" -> stateRstDefaultRole def
|
||||
role -> role })
|
||||
x | x == "code" || x == "code-block" ->
|
||||
x | x == "code" || x == "code-block" || x == "sourcecode" ->
|
||||
codeblock name classes
|
||||
(lookup "number-lines" fields) (trim top) body
|
||||
"aafig" -> do
|
||||
|
|
Loading…
Reference in a new issue