mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-24 01:06:30 +00:00
RST reader: support mark role for round-trip.
This commit is contained in:
@@ -1440,6 +1440,7 @@ renderRole contents fmt role attr = case role of
|
||||
"superscript" -> return $ B.superscript $ treatAsText contents
|
||||
"sub" -> return $ B.subscript $ treatAsText contents
|
||||
"subscript" -> return $ B.subscript $ treatAsText contents
|
||||
"mark" -> return $ B.spanWith ("",["mark"],[]) $ treatAsText contents
|
||||
"emphasis" -> return $ B.emph $ treatAsText contents
|
||||
"strong" -> return $ B.strong $ treatAsText contents
|
||||
"rfc-reference" -> return $ rfcLink contents
|
||||
|
||||
Reference in New Issue
Block a user