-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
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
Markdown image markup results in extra caption DIV in HTML output #28
Comments
See http://johnmacfarlane.net/pandoc/README.html#pictures-with-captions +++ tibbe [Jun 09 11 01:55 ]:
|
I'll close this issue. But feel free to comment if you think the "captioning" convention is confusing. Perhaps there's a better way. |
… instead of entirely redefining this command. Note we also consider the height of images; if an image is too high, 0.8\textheight will be used for beamer slides, and \textheight is used for articles (see http://tex.stackexchange.com/q/11954/9128). If the user has explicitly provided the width/height options in \includegraphics[], our defaults will be overwritten, and this approach is better than the check `\@ifnextchar[` after \includegraphics because the latter approach simply gives up everything once it sees [, whereas \setkeys{Gin} can keep the good defaults unless they are explicitly overwritten in []. closes #30, closes #28, and closes #26
Converting the following Markdown snippet
to HTML results in an extra paragraph element containing "Foo" being inserted below the image. I would except the above to only cause the
alt
attribute to be set.The text was updated successfully, but these errors were encountered: