{"action":"closed","issue":{"url":"https://api.github.com/repos/lepture/mistune/issues/27","labels_url":"https://api.github.com/repos/lepture/mistune/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/lepture/mistune/issues/27/comments","events_url":"https://api.github.com/repos/lepture/mistune/issues/27/events","html_url":"https://github.com/lepture/mistune/issues/27","id":43155294,"number":27,"title":"Simple footnotes","user":{"login":"nournia","id":370741,"avatar_url":"https://avatars.githubusercontent.com/u/370741?v=3","gravatar_id":"","url":"https://api.github.com/users/nournia","html_url":"https://github.com/nournia","followers_url":"https://api.github.com/users/nournia/followers","following_url":"https://api.github.com/users/nournia/following{/other_user}","gists_url":"https://api.github.com/users/nournia/gists{/gist_id}","starred_url":"https://api.github.com/users/nournia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nournia/subscriptions","organizations_url":"https://api.github.com/users/nournia/orgs","repos_url":"https://api.github.com/users/nournia/repos","events_url":"https://api.github.com/users/nournia/events{/privacy}","received_events_url":"https://api.github.com/users/nournia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lepture/mistune/labels/contrib","name":"contrib","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-09-18T16:56:36Z","updated_at":"2015-04-14T11:48:06Z","closed_at":"2015-04-14T11:48:06Z","body":"Hi,\r\nI think, adding tiny footnotes are a little bit difficult. I mean, it would be much simpler if you could do something like this:\r\n\r\n    Here goes a foreign word[^its translation].\r\n\r\nClearly, adding long footnotes in this format doesn't make sense, but it could be helpful for short ones. I've changed `InlineLexer` so it doesn't check footnote occurrence:\r\n\r\n\tclass MyInlineLexer(mistune.InlineLexer):\r\n\t\tdef output_footnote(self, m):\r\n\t\t\tkey = mistune._keyify(m.group(1))\r\n\t\t\tself.footnote_index += 1\r\n\t\t\tself.footnotes[key] = self.footnote_index\r\n\t\t\treturn self.renderer.footnote_ref(key, self.footnote_index)\r\n\r\nBut I can't add corresponding `footnote_item` to footnote list. Actually, I don't want to rewrite major parts of `mistune` and I'm asking for a compatible solution with current footnote handling."}}