We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the title. See also image from Text.Pandoc.Builder and para from Text.Pandoc.Readers.Markdown.
image
Text.Pandoc.Builder
para
Text.Pandoc.Readers.Markdown
diff --git a/src/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs index c12a149..fc52e92 100644 --- a/src/Text/Pandoc/Readers/RST.hs +++ b/src/Text/Pandoc/Readers/RST.hs @@ -580,7 +580,7 @@ directive' = do "figure" -> do (caption, legend) <- parseFromString extractCaption body' let src = escapeURI $ trim top - return $ B.para (B.image src "" caption) <> legend + return $ B.para (B.image src "fig:" caption) <> legend "image" -> do let src = escapeURI $ trim top let alt = B.str $ maybe "image" trim $ lookup "alt" fields
The text was updated successfully, but these errors were encountered:
f3a062d
lwd
No branches or pull requests
As the title. See also
image
fromText.Pandoc.Builder
andpara
fromText.Pandoc.Readers.Markdown
.The text was updated successfully, but these errors were encountered: