{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/12765","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/12765/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/12765/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/12765/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/12765","id":424312319,"node_id":"MDU6SXNzdWU0MjQzMTIzMTk=","number":12765,"title":"Per-file custom LaTeX macros in gatsby-remark-katex","user":{"login":"janosh","id":30958850,"node_id":"MDQ6VXNlcjMwOTU4ODUw","avatar_url":"https://avatars0.githubusercontent.com/u/30958850?v=4","gravatar_id":"","url":"https://api.github.com/users/janosh","html_url":"https://github.com/janosh","followers_url":"https://api.github.com/users/janosh/followers","following_url":"https://api.github.com/users/janosh/following{/other_user}","gists_url":"https://api.github.com/users/janosh/gists{/gist_id}","starred_url":"https://api.github.com/users/janosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janosh/subscriptions","organizations_url":"https://api.github.com/users/janosh/orgs","repos_url":"https://api.github.com/users/janosh/repos","events_url":"https://api.github.com/users/janosh/events{/privacy}","received_events_url":"https://api.github.com/users/janosh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-03-22T17:07:37Z","updated_at":"2019-08-04T14:32:12Z","closed_at":"2019-03-26T15:54:43Z","author_association":"CONTRIBUTOR","body":"It's currently possible to specify custom macros in the package options as suggested in #11320.\r\n\r\n```js\r\n{\r\n  resolve: `gatsby-remark-katex`,\r\n  options: {\r\n    macros: {\r\n      \"\\\\expec\": `\\\\langle #1\\\\rangle`,\r\n    },\r\n  },\r\n}\r\n```\r\n\r\nHowever, there doesn't seem to be a way to define `\\newcommands` on per-markdown-file level (or am I missing something)? Would this functionality be difficult to add?"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/518008415","html_url":"https://github.com/gatsbyjs/gatsby/issues/12765#issuecomment-518008415","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/12765","id":518008415,"node_id":"MDEyOklzc3VlQ29tbWVudDUxODAwODQxNQ==","user":{"login":"episodeyang","id":630490,"node_id":"MDQ6VXNlcjYzMDQ5MA==","avatar_url":"https://avatars2.githubusercontent.com/u/630490?v=4","gravatar_id":"","url":"https://api.github.com/users/episodeyang","html_url":"https://github.com/episodeyang","followers_url":"https://api.github.com/users/episodeyang/followers","following_url":"https://api.github.com/users/episodeyang/following{/other_user}","gists_url":"https://api.github.com/users/episodeyang/gists{/gist_id}","starred_url":"https://api.github.com/users/episodeyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/episodeyang/subscriptions","organizations_url":"https://api.github.com/users/episodeyang/orgs","repos_url":"https://api.github.com/users/episodeyang/repos","events_url":"https://api.github.com/users/episodeyang/events{/privacy}","received_events_url":"https://api.github.com/users/episodeyang/received_events","type":"User","site_admin":false},"created_at":"2019-08-04T14:32:12Z","updated_at":"2019-08-04T14:32:12Z","author_association":"NONE","body":"this is very disappointing. Feedbacks from the community like this is a chance to open up to niche use case as Gatsby goes main stream. In aggregate, it is likely that every user is going to run into one of these long-tail use cases."}}
{"actor":{"display_login":"episodeyang"}}