Skip to content
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

Image shortcodes width functionality isn't working #9

Open
cjosephson opened this issue Sep 7, 2020 · 0 comments
Open

Image shortcodes width functionality isn't working #9

cjosephson opened this issue Sep 7, 2020 · 0 comments

Comments

@cjosephson
Copy link
Contributor

On the capital.md page, the width property of images seems to be ignored. For example,

{{< figure src="/img/house.jpg" width="100" >}}

produces an image of arbitrary width. The width specifier works within rawhtml though:

{{< rawhtml >}}
<div style="text-align:center">
<img  src="/img/house.jpg" style="display: inline-block; vertical-align:middle" width="444">
</div>
{{< /rawhtml >}}

I found this resource (source code) seeming to suggest that the top option should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant