{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/pandoc/issues/895","labels_url":"https://api.github.com/repos/jgm/pandoc/issues/895/labels{/name}","comments_url":"https://api.github.com/repos/jgm/pandoc/issues/895/comments","events_url":"https://api.github.com/repos/jgm/pandoc/issues/895/events","html_url":"https://github.com/jgm/pandoc/issues/895","id":16127793,"number":895,"title":"(feature) :lang special attribute syntax","user":{"login":"ousia","id":203767,"avatar_url":"https://avatars.githubusercontent.com/u/203767?v=3","gravatar_id":"","url":"https://api.github.com/users/ousia","html_url":"https://github.com/ousia","followers_url":"https://api.github.com/users/ousia/followers","following_url":"https://api.github.com/users/ousia/following{/other_user}","gists_url":"https://api.github.com/users/ousia/gists{/gist_id}","starred_url":"https://api.github.com/users/ousia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ousia/subscriptions","organizations_url":"https://api.github.com/users/ousia/orgs","repos_url":"https://api.github.com/users/ousia/repos","events_url":"https://api.github.com/users/ousia/events{/privacy}","received_events_url":"https://api.github.com/users/ousia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jgm/pandoc/labels/enhancement","name":"enhancement","color":"d7e102"},{"url":"https://api.github.com/repos/jgm/pandoc/labels/More%20discussion%20needed","name":"More discussion needed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2013-06-28T05:30:02Z","updated_at":"2015-10-10T10:55:02Z","closed_at":null,"body":"Hi John,\r\n\r\nthis comes from #675.\r\n\r\nThis is about enabling language notation for document parts.\r\n\r\nThe notation could be (in the spirit of `.class` and `#identifier`):\r\n\r\n    :lang :es :en :de :grc\r\n\r\nI think a new element `RawSpan` would be also needed to add language notation in some passages (not all of them, but some).\r\n\r\nMany thanks for your excellent work,\r\n\r\n\r\nPablo"},"comment":{"url":"https://api.github.com/repos/jgm/pandoc/issues/comments/147073880","html_url":"https://github.com/jgm/pandoc/issues/895#issuecomment-147073880","issue_url":"https://api.github.com/repos/jgm/pandoc/issues/895","id":147073880,"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-10-10T10:55:01Z","updated_at":"2015-10-10T10:55:01Z","body":"Thoughts anyone?\r\n\r\nAlso, should the `otherlangs` variable be automatically populated with the values of all `lang` attributes in all spans and divs, or is it better to leave it as it is and have authors specify it manually in the YAML metadata? The first option means less manual work, the second potentially more control (although I guess we could still allow the variable to be overridden by the YAML)."}}