{"action":"created","issue":{"url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/210","repository_url":"https://api.github.com/repos/lierdakil/pandoc-crossref","labels_url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/210/comments","events_url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/210/events","html_url":"https://github.com/lierdakil/pandoc-crossref/issues/210","id":384083439,"node_id":"MDU6SXNzdWUzODQwODM0Mzk=","number":210,"title":"figure references in brackets","user":{"login":"tolot27","id":1370732,"node_id":"MDQ6VXNlcjEzNzA3MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1370732?v=4","gravatar_id":"","url":"https://api.github.com/users/tolot27","html_url":"https://github.com/tolot27","followers_url":"https://api.github.com/users/tolot27/followers","following_url":"https://api.github.com/users/tolot27/following{/other_user}","gists_url":"https://api.github.com/users/tolot27/gists{/gist_id}","starred_url":"https://api.github.com/users/tolot27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolot27/subscriptions","organizations_url":"https://api.github.com/users/tolot27/orgs","repos_url":"https://api.github.com/users/tolot27/repos","events_url":"https://api.github.com/users/tolot27/events{/privacy}","received_events_url":"https://api.github.com/users/tolot27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-25T14:20:59Z","updated_at":"2018-11-25T15:07:52Z","closed_at":null,"author_association":"NONE","body":"If I put a figure reference in rounded brackets, it gets not renderend. I have to escape the opening bracket.\r\n\r\nI know I can change the general templates but for particular exceptions it should work the other way. Here is an example:\r\n\r\n```markdown\r\n---\r\nhyperrefoptions: pagebackref=true,linktoc=all\r\ncolorlinks: true\r\nlinkReferences: True\r\nnameInLink: True\r\ncref: True\r\n...\r\n\r\n# Figures\r\n\r\n![Figure caption](image.png){#fig:figureRef}\r\n\r\nA figure reference to a \"normal\" figure with `@fig:figureRef` results in (@fig:figureRef).\r\n\r\n# Subfigures\r\n\r\n<div id=\"fig:figureRef\">\r\n![subfigure 1 caption](image1.png){#fig:figureRefA}\r\n\r\n![subfigure 2 caption](image2.png){#fig:figureRefB}\r\n\r\nCaption of figure\r\n</div>\r\n\r\nReferences to subfigures will be rendered as figureNumber (subfigureNumber), e.g., in this particular example, `[@fig:figureRefA]` will produce [@fig:figureRefA] but `(@fig:figureRefA)` will produce (@fig:figureRefA). A workaround is to escape the open bracket `\\([@fig:figureRefA])`, which results in the correct \\([@fig:figureRefA]).\r\n\r\n## Pandoc figure referencing\r\n\r\n![Alt text of pandoc figure](image){#image}\r\n\r\nAnd its reference using pandoc syntax `([image](#image))`: ([image](#image)).\r\n```"},"comment":{"url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/comments/441447147","html_url":"https://github.com/lierdakil/pandoc-crossref/issues/210#issuecomment-441447147","issue_url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/210","id":441447147,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTQ0NzE0Nw==","user":{"login":"lierdakil","id":7275622,"node_id":"MDQ6VXNlcjcyNzU2MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/7275622?v=4","gravatar_id":"","url":"https://api.github.com/users/lierdakil","html_url":"https://github.com/lierdakil","followers_url":"https://api.github.com/users/lierdakil/followers","following_url":"https://api.github.com/users/lierdakil/following{/other_user}","gists_url":"https://api.github.com/users/lierdakil/gists{/gist_id}","starred_url":"https://api.github.com/users/lierdakil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lierdakil/subscriptions","organizations_url":"https://api.github.com/users/lierdakil/orgs","repos_url":"https://api.github.com/users/lierdakil/repos","events_url":"https://api.github.com/users/lierdakil/events{/privacy}","received_events_url":"https://api.github.com/users/lierdakil/received_events","type":"User","site_admin":false},"created_at":"2018-11-25T15:07:52Z","updated_at":"2018-11-25T15:07:52Z","author_association":"OWNER","body":"Nevermind, it's actually a pretty annoying bug, so I'll create the upstream issue myself."}}
{"actor":{"display_login":"lierdakil"}}