mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Support nocase spansn for csljson output
This commit is contained in:
@@ -77,6 +77,7 @@ fromInline (Image _ ils _) = fromInlines ils
|
||||
fromInline (Note _) = CslEmpty
|
||||
fromInline (Span (_,[cl],_) ils)
|
||||
| "csl-" `T.isPrefixOf` cl = CslDiv cl (fromInlines ils)
|
||||
| cl == "nocase" = CslNoCase (fromInlines ils)
|
||||
fromInline (Span _ ils) = fromInlines ils
|
||||
|
||||
toCslJson :: Locale -> [Reference Inlines] -> ByteString
|
||||
|
||||
Reference in New Issue
Block a user