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

Add srcset to whitelist of img tags #156

Merged
merged 1 commit into from
Sep 30, 2016
Merged

Add srcset to whitelist of img tags #156

merged 1 commit into from
Sep 30, 2016

Commits on Sep 29, 2016

  1. Add srcset to whitelist of img tags

    This allows 'retina' images to be embedded at a reasonable scale without having to do annoying things like hardcode a width value.  My motivation is for gitlab markdown, where I want the documentation to inline high-res images straight out of the repository, but at the correct display size.
    
    More information: http://mobile.smashingmagazine.com/2013/08/21/webkit-implements-srcset-and-why-its-a-good-thing/
    
    Browser support: http://caniuse.com/#search=srcset
    ejtttje authored Sep 29, 2016
    Configuration menu
    Copy the full SHA
    61f9140 View commit details
    Browse the repository at this point in the history