pyrsmk/molt — Issue #6: Allow mapping of modes to custom values
Author: hleinone
Created: 2012-01-29 23:10:47+00:00
State: open

I'd need to map the mode to a different value, for example to show responsive [Gravatar](http://en.gravatar.com/) avatars I need to use URL parameter s=SIZE_OF_AVATAR, and of course I don't want them to be 480 by 480 pixels. I implemented something in [my fork](https://github.com/hleinone/molt) using syntax `{240=80,480=95}`. I'm currently using that on [my personal website](http://javanto.com/) and it seems to work on all recent browsers. If you have plans to support something like this, go ahead and try out my fork and let me know if there's anything to do (like changing the syntax or improving the parsing) before making a pull request.