{"action":"created","issue":{"url":"https://api.github.com/repos/prettier/prettier-emacs/issues/38","repository_url":"https://api.github.com/repos/prettier/prettier-emacs","labels_url":"https://api.github.com/repos/prettier/prettier-emacs/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/prettier/prettier-emacs/issues/38/comments","events_url":"https://api.github.com/repos/prettier/prettier-emacs/issues/38/events","html_url":"https://github.com/prettier/prettier-emacs/issues/38","id":337697528,"node_id":"MDU6SXNzdWUzMzc2OTc1Mjg=","number":38,"title":"Unable to run in the org mode source code block","user":{"login":"kkweon","id":2981167,"node_id":"MDQ6VXNlcjI5ODExNjc=","avatar_url":"https://avatars3.githubusercontent.com/u/2981167?v=4","gravatar_id":"","url":"https://api.github.com/users/kkweon","html_url":"https://github.com/kkweon","followers_url":"https://api.github.com/users/kkweon/followers","following_url":"https://api.github.com/users/kkweon/following{/other_user}","gists_url":"https://api.github.com/users/kkweon/gists{/gist_id}","starred_url":"https://api.github.com/users/kkweon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkweon/subscriptions","organizations_url":"https://api.github.com/users/kkweon/orgs","repos_url":"https://api.github.com/users/kkweon/repos","events_url":"https://api.github.com/users/kkweon/events{/privacy}","received_events_url":"https://api.github.com/users/kkweon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-02T23:38:10Z","updated_at":"2018-07-03T06:28:40Z","closed_at":null,"author_association":"NONE","body":"## Steps to reproduce\r\n\r\n1. Create any org file `temp.org`\r\n2. Create a source code block\r\n\r\n```org\r\n#+BEGIN_SRC js\r\n  const a = {\r\n    data: [],\r\n    nextOffset: 1\r\n  }\r\n#+END_SRC\r\n```\r\n3. Edit and run `prettier-js`\r\n\r\n```\r\nprettier errors:\r\n[error] No parser could be inferred for file: /Users/kkweon/temp/temp.org[*Org Src temp.org[ js ]*]\r\n```\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/prettier/prettier-emacs/issues/comments/402027268","html_url":"https://github.com/prettier/prettier-emacs/issues/38#issuecomment-402027268","issue_url":"https://api.github.com/repos/prettier/prettier-emacs/issues/38","id":402027268,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjAyNzI2OA==","user":{"login":"rcoedo","id":6409659,"node_id":"MDQ6VXNlcjY0MDk2NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/6409659?v=4","gravatar_id":"","url":"https://api.github.com/users/rcoedo","html_url":"https://github.com/rcoedo","followers_url":"https://api.github.com/users/rcoedo/followers","following_url":"https://api.github.com/users/rcoedo/following{/other_user}","gists_url":"https://api.github.com/users/rcoedo/gists{/gist_id}","starred_url":"https://api.github.com/users/rcoedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcoedo/subscriptions","organizations_url":"https://api.github.com/users/rcoedo/orgs","repos_url":"https://api.github.com/users/rcoedo/repos","events_url":"https://api.github.com/users/rcoedo/events{/privacy}","received_events_url":"https://api.github.com/users/rcoedo/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T06:28:40Z","updated_at":"2018-07-03T06:28:40Z","author_association":"COLLABORATOR","body":"Yes, it forces the parser. You will have to set the variable to the right format for each one of these files. You could do this with hooks for example."}}
{"actor":{"display_login":"rcoedo"}}