diff options
| author | John MacFarlane <[email protected]> | 2025-05-12 13:50:32 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-05-12 13:50:32 -0700 |
| commit | f239a45b3ede63ccb12d4559bdfebdfce7f6ac1d (patch) | |
| tree | e089b2de22b73b3dda4d70284c48bbba3b0a2b5c /src/Text | |
| parent | d3d5366e5197330e035f9f1700929c9b5a24d532 (diff) | |
Use latest texmath and dev typst.
Diffstat (limited to 'src/Text')
| -rw-r--r-- | src/Text/Pandoc/Readers/Typst.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Typst.hs b/src/Text/Pandoc/Readers/Typst.hs index 6b2f989bc..948455f09 100644 --- a/src/Text/Pandoc/Readers/Typst.hs +++ b/src/Text/Pandoc/Readers/Typst.hs @@ -466,7 +466,7 @@ inlineHandlers = M.fromList (B.fromList . blocksToInlines . B.toList <$> pBlocks) body pure $ B.link src "" description) ,("image", \_ fields -> do - path <- getField "path" fields + path <- getField "source" fields <|> getField "path" fields alt <- (B.text <$> getField "alt" fields) `mplus` pure mempty (mbwidth :: Maybe Text) <- fmap (renderLength False) <$> getField "width" fields |
