{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/pandoc/issues/813","labels_url":"https://api.github.com/repos/jgm/pandoc/issues/813/labels{/name}","comments_url":"https://api.github.com/repos/jgm/pandoc/issues/813/comments","events_url":"https://api.github.com/repos/jgm/pandoc/issues/813/events","html_url":"https://github.com/jgm/pandoc/issues/813","id":12807309,"number":813,"title":"New Feature: internal links to tables and figures","user":{"login":"GeraldLoeffler","id":1985716,"avatar_url":"https://avatars.githubusercontent.com/u/1985716?v=3","gravatar_id":"","url":"https://api.github.com/users/GeraldLoeffler","html_url":"https://github.com/GeraldLoeffler","followers_url":"https://api.github.com/users/GeraldLoeffler/followers","following_url":"https://api.github.com/users/GeraldLoeffler/following{/other_user}","gists_url":"https://api.github.com/users/GeraldLoeffler/gists{/gist_id}","starred_url":"https://api.github.com/users/GeraldLoeffler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeraldLoeffler/subscriptions","organizations_url":"https://api.github.com/users/GeraldLoeffler/orgs","repos_url":"https://api.github.com/users/GeraldLoeffler/repos","events_url":"https://api.github.com/users/GeraldLoeffler/events{/privacy}","received_events_url":"https://api.github.com/users/GeraldLoeffler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jgm/pandoc/labels/enhancement","name":"enhancement","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":69,"created_at":"2013-04-04T16:09:26Z","updated_at":"2015-01-25T14:09:04Z","closed_at":null,"body":"It's currently possible to include internal links to sections. I'd like to propose a similar feature for links to figures/images and tables.\r\n\r\nIt may make sense to provide this feature only if the figure/image or table that is being linked to has a caption. In that case Pandoc can today automatically generate a number for the figure or table and include it in the caption, e.g. \"Figure 15\".\r\n\r\nAt the most basic, the text of the link would be provided by the user, as is currently the case for links to sections.\r\n\r\nOf course it would be very convenient if the automatically generated number for the figure or table would also be used for the text of the link, e.g. \"as can be seen in Figure 15, blah\", where \"Figure 15\" would be the internal link whose text is auto-generated from the figure it points to."},"comment":{"url":"https://api.github.com/repos/jgm/pandoc/issues/comments/71374501","html_url":"https://github.com/jgm/pandoc/issues/813#issuecomment-71374501","issue_url":"https://api.github.com/repos/jgm/pandoc/issues/813","id":71374501,"user":{"login":"mb21","id":157497,"avatar_url":"https://avatars.githubusercontent.com/u/157497?v=3","gravatar_id":"","url":"https://api.github.com/users/mb21","html_url":"https://github.com/mb21","followers_url":"https://api.github.com/users/mb21/followers","following_url":"https://api.github.com/users/mb21/following{/other_user}","gists_url":"https://api.github.com/users/mb21/gists{/gist_id}","starred_url":"https://api.github.com/users/mb21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mb21/subscriptions","organizations_url":"https://api.github.com/users/mb21/orgs","repos_url":"https://api.github.com/users/mb21/repos","events_url":"https://api.github.com/users/mb21/events{/privacy}","received_events_url":"https://api.github.com/users/mb21/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T14:09:04Z","updated_at":"2015-01-25T14:09:04Z","body":"@jgm regarding the *numbered example lists*, I find the `@` instead of the usual `#` at the anchor place (instead of the reference place) rather confusing. Maybe one of the following two?\r\n\r\n    (#ex:good) This is a good example.\r\n    (#ex:bad) This is a bad example.\r\n\r\n    {#ex:good} This is a good example.\r\n    {#ex:bad} This is a bad example."}}