mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 05:43:39 +08:00
Typst writer: put label after Span, not before.
Labels get applied to preceding markup item.
This commit is contained in:
@@ -325,7 +325,7 @@ inlineToTypst inline =
|
||||
SmallCaps inlines -> textstyle "#smallcaps" inlines
|
||||
Span (ident,_,_) inlines -> do
|
||||
let lab = toLabel FreestandingLabel ident
|
||||
(lab $$) <$> inlinesToTypst inlines
|
||||
(<> lab) <$> inlinesToTypst inlines
|
||||
Quoted quoteType inlines -> do
|
||||
let q = case quoteType of
|
||||
DoubleQuote -> literal "\""
|
||||
|
||||
Reference in New Issue
Block a user