{"action":"opened","issue":{"url":"https://api.github.com/repos/wildlyinaccurate/jekyll-responsive-image/issues/15","repository_url":"https://api.github.com/repos/wildlyinaccurate/jekyll-responsive-image","labels_url":"https://api.github.com/repos/wildlyinaccurate/jekyll-responsive-image/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/wildlyinaccurate/jekyll-responsive-image/issues/15/comments","events_url":"https://api.github.com/repos/wildlyinaccurate/jekyll-responsive-image/issues/15/events","html_url":"https://github.com/wildlyinaccurate/jekyll-responsive-image/issues/15","id":136217425,"number":15,"title":"Would it be possible to use the standard Markdown syntax for images?","user":{"login":"nhoizey","id":78213,"avatar_url":"https://avatars.githubusercontent.com/u/78213?v=3","gravatar_id":"","url":"https://api.github.com/users/nhoizey","html_url":"https://github.com/nhoizey","followers_url":"https://api.github.com/users/nhoizey/followers","following_url":"https://api.github.com/users/nhoizey/following{/other_user}","gists_url":"https://api.github.com/users/nhoizey/gists{/gist_id}","starred_url":"https://api.github.com/users/nhoizey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhoizey/subscriptions","organizations_url":"https://api.github.com/users/nhoizey/orgs","repos_url":"https://api.github.com/users/nhoizey/repos","events_url":"https://api.github.com/users/nhoizey/events{/privacy}","received_events_url":"https://api.github.com/users/nhoizey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-24T23:06:25Z","updated_at":"2016-02-24T23:06:25Z","closed_at":null,"body":"I have put [the question on StackOverflow](http://stackoverflow.com/questions/35614552/with-jekyll-3-can-i-transform-a-posts-markdown-before-actual-markdown-parsing) first, so this is almost a copy/paste:\r\n\r\nI would like to use the Jekyll Responsive Image plugin to generate appropriate responsive images with `srcset`/`sizes` attributes for my posts' images. That's why I'm here obviously… ;-)\r\n\r\nBut I would also like to be able to edit my posts in a software providing a live preview like [MacDown](http://macdown.uranusjr.com/), which only understands the standard Markdown syntax for images.\r\n\r\nThat's why I would like to know if there is a way —in this plugin or another one— to tell Jekyll to transform the standard Markdown syntax for images, which I would put in my Markdown files…\r\n\r\n`![alt text](path/to/image.jpg)`\r\n\r\n…into this syntax specific to the Jekyll Responsive Image plugin:\r\n\r\n`{% responsive_image path: path/to/image.jpg alt: \"alt text\" %}`\r\n\r\nAnd THEN, Jekyll could continue and use Kramdown to generate the HTML…\r\n\r\nI understand I could only manage one template this way, but it should be enough for my blog."}}