{"action":"created","issue":{"url":"https://api.github.com/repos/clayh53/tufte-jekyll/issues/23","labels_url":"https://api.github.com/repos/clayh53/tufte-jekyll/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/clayh53/tufte-jekyll/issues/23/comments","events_url":"https://api.github.com/repos/clayh53/tufte-jekyll/issues/23/events","html_url":"https://github.com/clayh53/tufte-jekyll/issues/23","id":124416157,"number":23,"title":"Fullwidth captions don't expand link syntax","user":{"login":"niallrmurphy","id":6673730,"avatar_url":"https://avatars.githubusercontent.com/u/6673730?v=3","gravatar_id":"","url":"https://api.github.com/users/niallrmurphy","html_url":"https://github.com/niallrmurphy","followers_url":"https://api.github.com/users/niallrmurphy/followers","following_url":"https://api.github.com/users/niallrmurphy/following{/other_user}","gists_url":"https://api.github.com/users/niallrmurphy/gists{/gist_id}","starred_url":"https://api.github.com/users/niallrmurphy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niallrmurphy/subscriptions","organizations_url":"https://api.github.com/users/niallrmurphy/orgs","repos_url":"https://api.github.com/users/niallrmurphy/repos","events_url":"https://api.github.com/users/niallrmurphy/events{/privacy}","received_events_url":"https://api.github.com/users/niallrmurphy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-12-31T00:04:23Z","updated_at":"2016-01-01T12:01:45Z","closed_at":null,"body":"So, e.g. {% fullwidth 'blah/img/blah' 'Hi there this is a [source](http://wibble)' %} will just be printed as plain text."},"comment":{"url":"https://api.github.com/repos/clayh53/tufte-jekyll/issues/comments/168303374","html_url":"https://github.com/clayh53/tufte-jekyll/issues/23#issuecomment-168303374","issue_url":"https://api.github.com/repos/clayh53/tufte-jekyll/issues/23","id":168303374,"user":{"login":"xHN35RQ","id":9103375,"avatar_url":"https://avatars.githubusercontent.com/u/9103375?v=3","gravatar_id":"","url":"https://api.github.com/users/xHN35RQ","html_url":"https://github.com/xHN35RQ","followers_url":"https://api.github.com/users/xHN35RQ/followers","following_url":"https://api.github.com/users/xHN35RQ/following{/other_user}","gists_url":"https://api.github.com/users/xHN35RQ/gists{/gist_id}","starred_url":"https://api.github.com/users/xHN35RQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xHN35RQ/subscriptions","organizations_url":"https://api.github.com/users/xHN35RQ/orgs","repos_url":"https://api.github.com/users/xHN35RQ/repos","events_url":"https://api.github.com/users/xHN35RQ/events{/privacy}","received_events_url":"https://api.github.com/users/xHN35RQ/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T12:01:45Z","updated_at":"2016-01-01T12:01:45Z","body":"Aha, I've got a sort-of okay CSS fix for this:\r\n\r\n```\r\nfigure.fullwidth figcaption {\r\n  margin-right: 0%;\r\n  max-width: 100%;\r\n  margin-left: 28%;\r\n}\r\n``` \r\nCheck it out: http://fullwidthtest.surge.sh/test/\r\n\r\nAnd @niallrmurphy nope these Liquid tags are passing the raw text directly to the Jekyll engine, you can't use Markdown in these tags. If you want to have it be a link you'll need to write out the HTML for it, and escape the double quotes in the href tag, like so:\r\n\r\n```\r\n{% fullwidth \"assets/img/rhino.png\" \"A 1995 paper leaflet advertising IE's services (via <a href=\\\"http://brandnewretro.ie/2012/08/23/old-adverts-88-internet-eireann-1995/\\\">http://brandnewretro.ie/2012/08/23/old-adverts-88-internet-eireann-1995/</a>)\" %}\r\n```"}}