{"action":"created","issue":{"url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/152","repository_url":"https://api.github.com/repos/lierdakil/pandoc-crossref","labels_url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/152/comments","events_url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/152/events","html_url":"https://github.com/lierdakil/pandoc-crossref/issues/152","id":278765096,"number":152,"title":"Figure captions italic?","user":{"login":"GandalfSaxe","id":12127864,"avatar_url":"https://avatars1.githubusercontent.com/u/12127864?v=4","gravatar_id":"","url":"https://api.github.com/users/GandalfSaxe","html_url":"https://github.com/GandalfSaxe","followers_url":"https://api.github.com/users/GandalfSaxe/followers","following_url":"https://api.github.com/users/GandalfSaxe/following{/other_user}","gists_url":"https://api.github.com/users/GandalfSaxe/gists{/gist_id}","starred_url":"https://api.github.com/users/GandalfSaxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GandalfSaxe/subscriptions","organizations_url":"https://api.github.com/users/GandalfSaxe/orgs","repos_url":"https://api.github.com/users/GandalfSaxe/repos","events_url":"https://api.github.com/users/GandalfSaxe/events{/privacy}","received_events_url":"https://api.github.com/users/GandalfSaxe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-03T11:24:19Z","updated_at":"2017-12-03T18:19:34Z","closed_at":null,"author_association":"NONE","body":"First, thank you for making pandoc-crossref, it's very useful 😃\r\n\r\nHow do I make figure captions italic on default?\r\nI tried many things with `figureTemplate` but I couldn't get any change.\r\n\r\nAlso, if I set `figureTitle: \"**Figure**\"` then it will show `**Figure** 1: bla bla`, but how do I get the number bold also?\r\n"},"comment":{"url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/comments/348802907","html_url":"https://github.com/lierdakil/pandoc-crossref/issues/152#issuecomment-348802907","issue_url":"https://api.github.com/repos/lierdakil/pandoc-crossref/issues/152","id":348802907,"user":{"login":"lierdakil","id":7275622,"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":"2017-12-03T18:19:34Z","updated_at":"2017-12-03T18:19:34Z","author_association":"OWNER","body":"This should work more or less as you would expect:\r\n\r\n```md\r\n---\r\nfigureTemplate: '*$$figureTitle$$ $$i$$*$$titleDelim$$ $$t$$'\r\n---\r\n\r\n![Some figure](figure.img){#fig:figure1}\r\n```\r\n\r\nNote the single quotes around value of `figureTemplate` (could've been double quotes). Reason for needing that is YAML parser, unescaped `*` isn't allowed in YAML, so whole value will end up being discarded (at which point, default takes precedence)"}}
{"actor":{"display_login":"lierdakil"}}