{"action":"created","issue":{"url":"https://api.github.com/repos/njleonzhang/docsify-edit-on-github/issues/1","repository_url":"https://api.github.com/repos/njleonzhang/docsify-edit-on-github","labels_url":"https://api.github.com/repos/njleonzhang/docsify-edit-on-github/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/njleonzhang/docsify-edit-on-github/issues/1/comments","events_url":"https://api.github.com/repos/njleonzhang/docsify-edit-on-github/issues/1/events","html_url":"https://github.com/njleonzhang/docsify-edit-on-github/issues/1","id":386740250,"node_id":"MDU6SXNzdWUzODY3NDAyNTA=","number":1,"title":"How do I set the title","user":{"login":"RickCogley","id":512328,"node_id":"MDQ6VXNlcjUxMjMyOA==","avatar_url":"https://avatars2.githubusercontent.com/u/512328?v=4","gravatar_id":"","url":"https://api.github.com/users/RickCogley","html_url":"https://github.com/RickCogley","followers_url":"https://api.github.com/users/RickCogley/followers","following_url":"https://api.github.com/users/RickCogley/following{/other_user}","gists_url":"https://api.github.com/users/RickCogley/gists{/gist_id}","starred_url":"https://api.github.com/users/RickCogley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickCogley/subscriptions","organizations_url":"https://api.github.com/users/RickCogley/orgs","repos_url":"https://api.github.com/users/RickCogley/repos","events_url":"https://api.github.com/users/RickCogley/events{/privacy}","received_events_url":"https://api.github.com/users/RickCogley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-03T10:01:25Z","updated_at":"2018-12-03T10:06:50Z","closed_at":null,"author_association":"NONE","body":"Hi - thank you for this plugin. Could you please tell me, how do I set the title of the \"Edit on github\" link? I'm loading like this and it's working:  \r\n\r\n```js\r\n...\r\nplugins: [\r\n EditOnGithubPlugin.create(\r\n   'https://github.com/RickCogley/myrepo/blob/master/docs/'\r\n    ),\r\n...\r\n```\r\n\r\n...but I noticed in your readme that I can set the title, but, I'm a newb when it comes to js, so, I thought I would ask, if you don't mind. \r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/njleonzhang/docsify-edit-on-github/issues/comments/443655074","html_url":"https://github.com/njleonzhang/docsify-edit-on-github/issues/1#issuecomment-443655074","issue_url":"https://api.github.com/repos/njleonzhang/docsify-edit-on-github/issues/1","id":443655074,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzY1NTA3NA==","user":{"login":"njleonzhang","id":13174059,"node_id":"MDQ6VXNlcjEzMTc0MDU5","avatar_url":"https://avatars1.githubusercontent.com/u/13174059?v=4","gravatar_id":"","url":"https://api.github.com/users/njleonzhang","html_url":"https://github.com/njleonzhang","followers_url":"https://api.github.com/users/njleonzhang/followers","following_url":"https://api.github.com/users/njleonzhang/following{/other_user}","gists_url":"https://api.github.com/users/njleonzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/njleonzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njleonzhang/subscriptions","organizations_url":"https://api.github.com/users/njleonzhang/orgs","repos_url":"https://api.github.com/users/njleonzhang/repos","events_url":"https://api.github.com/users/njleonzhang/events{/privacy}","received_events_url":"https://api.github.com/users/njleonzhang/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T10:06:50Z","updated_at":"2018-12-03T10:06:50Z","author_association":"OWNER","body":"@RickCogley the third parameter of function `EditOnGithubPlugin.create` is the title.\r\n\r\n```\r\nplugins: [\r\n EditOnGithubPlugin.create(\r\n   'https://github.com/RickCogley/myrepo/blob/master/docs/',\r\n   undefined,   // pass undefined if you don't care this parameter\r\n   'your title'\r\n    ),\r\n```\r\n"}}
{"actor":{"display_login":"njleonzhang"}}