{"action":"created","issue":{"url":"https://api.github.com/repos/vweevers/remark-gh-contributors/issues/4","repository_url":"https://api.github.com/repos/vweevers/remark-gh-contributors","labels_url":"https://api.github.com/repos/vweevers/remark-gh-contributors/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/vweevers/remark-gh-contributors/issues/4/comments","events_url":"https://api.github.com/repos/vweevers/remark-gh-contributors/issues/4/events","html_url":"https://github.com/vweevers/remark-gh-contributors/issues/4","id":330870406,"node_id":"MDU6SXNzdWUzMzA4NzA0MDY=","number":4,"title":"Support mastodon","user":{"login":"vweevers","id":3055345,"node_id":"MDQ6VXNlcjMwNTUzNDU=","avatar_url":"https://avatars2.githubusercontent.com/u/3055345?v=4","gravatar_id":"","url":"https://api.github.com/users/vweevers","html_url":"https://github.com/vweevers","followers_url":"https://api.github.com/users/vweevers/followers","following_url":"https://api.github.com/users/vweevers/following{/other_user}","gists_url":"https://api.github.com/users/vweevers/gists{/gist_id}","starred_url":"https://api.github.com/users/vweevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vweevers/subscriptions","organizations_url":"https://api.github.com/users/vweevers/orgs","repos_url":"https://api.github.com/users/vweevers/repos","events_url":"https://api.github.com/users/vweevers/events{/privacy}","received_events_url":"https://api.github.com/users/vweevers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-09T09:30:08Z","updated_at":"2018-06-09T10:22:23Z","closed_at":null,"author_association":"OWNER","body":"@ralphtheninja can you explain how usernames/handles work in mastodon? Do you get a canonical URI? What's the convention for displaying usernames? `domain/@user` or `@user@domain`?"},"comment":{"url":"https://api.github.com/repos/vweevers/remark-gh-contributors/issues/comments/395957801","html_url":"https://github.com/vweevers/remark-gh-contributors/issues/4#issuecomment-395957801","issue_url":"https://api.github.com/repos/vweevers/remark-gh-contributors/issues/4","id":395957801,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTk1NzgwMQ==","user":{"login":"vweevers","id":3055345,"node_id":"MDQ6VXNlcjMwNTUzNDU=","avatar_url":"https://avatars2.githubusercontent.com/u/3055345?v=4","gravatar_id":"","url":"https://api.github.com/users/vweevers","html_url":"https://github.com/vweevers","followers_url":"https://api.github.com/users/vweevers/followers","following_url":"https://api.github.com/users/vweevers/following{/other_user}","gists_url":"https://api.github.com/users/vweevers/gists{/gist_id}","starred_url":"https://api.github.com/users/vweevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vweevers/subscriptions","organizations_url":"https://api.github.com/users/vweevers/orgs","repos_url":"https://api.github.com/users/vweevers/repos","events_url":"https://api.github.com/users/vweevers/events{/privacy}","received_events_url":"https://api.github.com/users/vweevers/received_events","type":"User","site_admin":false},"created_at":"2018-06-09T10:22:23Z","updated_at":"2018-06-09T10:22:23Z","author_association":"OWNER","body":"Options:\r\n\r\n1. Add a feature to `remark-contributors` to parse a `social` property as a twitter or mastodon handle. I don't like this because it means metadata (in `package.json` or modules like `level-community`) has to change (with loss of information).\r\n2. Add a feature to `remark-contributors` to use a `Social` header instead of `Twitter` if a `mastodon` property is found in any of the contributors.\r\n2. Add a feature to `remark-contributors` to accept custom formatting options. Something like:\r\n\r\n```js\r\nheaders: {\r\n social: {\r\n   name: 'Social',\r\n   value: function (value, contributor) {\r\n     if (contributor.twitter) return twitterLink(contributor.twitter)\r\n     // ..\r\n   }\r\n }\r\n}\r\n```\r\n\r\n3. Add a feature to `remark-contributors` to accept raw markdown or mdast nodes (so that we can pass in links). This is the easiest solution atm.\r\n4. Fork."}}
{"actor":{"display_login":"vweevers"}}