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

Responsive images #102

Open
JohnCoene opened this issue Jul 14, 2017 · 1 comment
Open

Responsive images #102

JohnCoene opened this issue Jul 14, 2017 · 1 comment

Comments

@JohnCoene
Copy link

Not entirely sure this is how it should work but using markdown to include images doesn't add the bootstrap img-responsive class.

Not responsive:
![my_image](images/myimage.png)

Responsive:
img(src = "images/myimage.png", alt="my_image", class="img-responsive")

@JohnCoene JohnCoene changed the title Responsive image Responsive images Jul 14, 2017
@jjallaire
Copy link
Member

You should be able to do this:

![my_image](images/myimage.png){.img-responsive}

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

2 participants