{"action":"created","comment":{"url":"https://api.github.com/repos/hagenburger/pimd/pulls/comments/206290243","pull_request_review_id":141678464,"id":206290243,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjI5MDI0Mw==","diff_hunk":"@@ -0,0 +1,29 @@\n+const {Document} = require('../..');\r\n+const plugin = require('.');\r\n+\r\n+\r\n+describe('Info strings', () => {\r\n+  it('should add an id to a headline', () => {\r\n+    const input = unindent`\r\n+      # Test <?: #myid ?>\r\n+    `\r\n+    const doc = new Document(input)\r\n+    doc.config.use(plugin)\r\n+    const html = doc.render()\r\n+      expect(html)\r\n+      .to.have.selector('h1#myid')\r\n+  })\r\n+\r\n+  it('should add an id to a code block', () => {\r\n+    const input = unindent`\r","path":"plugins/ids/test.js","position":18,"original_position":18,"commit_id":"17a9f4ab440f8cf378cfe6ebac27747518cfe847","original_commit_id":"17a9f4ab440f8cf378cfe6ebac27747518cfe847","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).<br>'template literal syntax' is only available in ES6 (use 'esversion: 6').","created_at":"2018-07-30T19:18:05Z","updated_at":"2018-07-30T19:18:06Z","html_url":"https://github.com/hagenburger/pimd/pull/4#discussion_r206290243","pull_request_url":"https://api.github.com/repos/hagenburger/pimd/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/hagenburger/pimd/pulls/comments/206290243"},"html":{"href":"https://github.com/hagenburger/pimd/pull/4#discussion_r206290243"},"pull_request":{"href":"https://api.github.com/repos/hagenburger/pimd/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/hagenburger/pimd/pulls/4","id":204694871,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0Njk0ODcx","html_url":"https://github.com/hagenburger/pimd/pull/4","diff_url":"https://github.com/hagenburger/pimd/pull/4.diff","patch_url":"https://github.com/hagenburger/pimd/pull/4.patch","issue_url":"https://api.github.com/repos/hagenburger/pimd/issues/4","number":4,"state":"open","locked":false,"title":"ID plugin","user":{"login":"artnerdnet","id":36138541,"node_id":"MDQ6VXNlcjM2MTM4NTQx","avatar_url":"https://avatars0.githubusercontent.com/u/36138541?v=4","gravatar_id":"","url":"https://api.github.com/users/artnerdnet","html_url":"https://github.com/artnerdnet","followers_url":"https://api.github.com/users/artnerdnet/followers","following_url":"https://api.github.com/users/artnerdnet/following{/other_user}","gists_url":"https://api.github.com/users/artnerdnet/gists{/gist_id}","starred_url":"https://api.github.com/users/artnerdnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artnerdnet/subscriptions","organizations_url":"https://api.github.com/users/artnerdnet/orgs","repos_url":"https://api.github.com/users/artnerdnet/repos","events_url":"https://api.github.com/users/artnerdnet/events{/privacy}","received_events_url":"https://api.github.com/users/artnerdnet/received_events","type":"User","site_admin":false},"body":"Introduce ID plugin","created_at":"2018-07-30T05:03:17Z","updated_at":"2018-07-30T19:18:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e250731f040199c9c798cafbf07c4fbca665280","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hagenburger/pimd/pulls/4/commits","review_comments_url":"https://api.github.com/repos/hagenburger/pimd/pulls/4/comments","review_comment_url":"https://api.github.com/repos/hagenburger/pimd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hagenburger/pimd/issues/4/comments","statuses_url":"https://api.github.com/repos/hagenburger/pimd/statuses/17a9f4ab440f8cf378cfe6ebac27747518cfe847","head":{"label":"artnerdnet:master","ref":"master","sha":"17a9f4ab440f8cf378cfe6ebac27747518cfe847","user":{"login":"artnerdnet","id":36138541,"node_id":"MDQ6VXNlcjM2MTM4NTQx","avatar_url":"https://avatars0.githubusercontent.com/u/36138541?v=4","gravatar_id":"","url":"https://api.github.com/users/artnerdnet","html_url":"https://github.com/artnerdnet","followers_url":"https://api.github.com/users/artnerdnet/followers","following_url":"https://api.github.com/users/artnerdnet/following{/other_user}","gists_url":"https://api.github.com/users/artnerdnet/gists{/gist_id}","starred_url":"https://api.github.com/users/artnerdnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artnerdnet/subscriptions","organizations_url":"https://api.github.com/users/artnerdnet/orgs","repos_url":"https://api.github.com/users/artnerdnet/repos","events_url":"https://api.github.com/users/artnerdnet/events{/privacy}","received_events_url":"https://api.github.com/users/artnerdnet/received_events","type":"User","site_admin":false},"repo":{"id":142334769,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIzMzQ3Njk=","name":"pimd","full_name":"artnerdnet/pimd","owner":{"login":"artnerdnet","id":36138541,"node_id":"MDQ6VXNlcjM2MTM4NTQx","avatar_url":"https://avatars0.githubusercontent.com/u/36138541?v=4","gravatar_id":"","url":"https://api.github.com/users/artnerdnet","html_url":"https://github.com/artnerdnet","followers_url":"https://api.github.com/users/artnerdnet/followers","following_url":"https://api.github.com/users/artnerdnet/following{/other_user}","gists_url":"https://api.github.com/users/artnerdnet/gists{/gist_id}","starred_url":"https://api.github.com/users/artnerdnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artnerdnet/subscriptions","organizations_url":"https://api.github.com/users/artnerdnet/orgs","repos_url":"https://api.github.com/users/artnerdnet/repos","events_url":"https://api.github.com/users/artnerdnet/events{/privacy}","received_events_url":"https://api.github.com/users/artnerdnet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/artnerdnet/pimd","description":"PIMD – Processing Instructions for Markdown","fork":true,"url":"https://api.github.com/repos/artnerdnet/pimd","forks_url":"https://api.github.com/repos/artnerdnet/pimd/forks","keys_url":"https://api.github.com/repos/artnerdnet/pimd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artnerdnet/pimd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artnerdnet/pimd/teams","hooks_url":"https://api.github.com/repos/artnerdnet/pimd/hooks","issue_events_url":"https://api.github.com/repos/artnerdnet/pimd/issues/events{/number}","events_url":"https://api.github.com/repos/artnerdnet/pimd/events","assignees_url":"https://api.github.com/repos/artnerdnet/pimd/assignees{/user}","branches_url":"https://api.github.com/repos/artnerdnet/pimd/branches{/branch}","tags_url":"https://api.github.com/repos/artnerdnet/pimd/tags","blobs_url":"https://api.github.com/repos/artnerdnet/pimd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artnerdnet/pimd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artnerdnet/pimd/git/refs{/sha}","trees_url":"https://api.github.com/repos/artnerdnet/pimd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artnerdnet/pimd/statuses/{sha}","languages_url":"https://api.github.com/repos/artnerdnet/pimd/languages","stargazers_url":"https://api.github.com/repos/artnerdnet/pimd/stargazers","contributors_url":"https://api.github.com/repos/artnerdnet/pimd/contributors","subscribers_url":"https://api.github.com/repos/artnerdnet/pimd/subscribers","subscription_url":"https://api.github.com/repos/artnerdnet/pimd/subscription","commits_url":"https://api.github.com/repos/artnerdnet/pimd/commits{/sha}","git_commits_url":"https://api.github.com/repos/artnerdnet/pimd/git/commits{/sha}","comments_url":"https://api.github.com/repos/artnerdnet/pimd/comments{/number}","issue_comment_url":"https://api.github.com/repos/artnerdnet/pimd/issues/comments{/number}","contents_url":"https://api.github.com/repos/artnerdnet/pimd/contents/{+path}","compare_url":"https://api.github.com/repos/artnerdnet/pimd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artnerdnet/pimd/merges","archive_url":"https://api.github.com/repos/artnerdnet/pimd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artnerdnet/pimd/downloads","issues_url":"https://api.github.com/repos/artnerdnet/pimd/issues{/number}","pulls_url":"https://api.github.com/repos/artnerdnet/pimd/pulls{/number}","milestones_url":"https://api.github.com/repos/artnerdnet/pimd/milestones{/number}","notifications_url":"https://api.github.com/repos/artnerdnet/pimd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artnerdnet/pimd/labels{/name}","releases_url":"https://api.github.com/repos/artnerdnet/pimd/releases{/id}","deployments_url":"https://api.github.com/repos/artnerdnet/pimd/deployments","created_at":"2018-07-25T17:49:28Z","updated_at":"2018-07-30T19:17:53Z","pushed_at":"2018-07-30T19:17:51Z","git_url":"git://github.com/artnerdnet/pimd.git","ssh_url":"git@github.com:artnerdnet/pimd.git","clone_url":"https://github.com/artnerdnet/pimd.git","svn_url":"https://github.com/artnerdnet/pimd","homepage":"","size":74,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hagenburger:master","ref":"master","sha":"115203d5db76be634a894fd3fa53eb53bfb0711f","user":{"login":"hagenburger","id":103399,"node_id":"MDQ6VXNlcjEwMzM5OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/103399?v=4","gravatar_id":"","url":"https://api.github.com/users/hagenburger","html_url":"https://github.com/hagenburger","followers_url":"https://api.github.com/users/hagenburger/followers","following_url":"https://api.github.com/users/hagenburger/following{/other_user}","gists_url":"https://api.github.com/users/hagenburger/gists{/gist_id}","starred_url":"https://api.github.com/users/hagenburger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hagenburger/subscriptions","organizations_url":"https://api.github.com/users/hagenburger/orgs","repos_url":"https://api.github.com/users/hagenburger/repos","events_url":"https://api.github.com/users/hagenburger/events{/privacy}","received_events_url":"https://api.github.com/users/hagenburger/received_events","type":"User","site_admin":false},"repo":{"id":133311302,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzMTEzMDI=","name":"pimd","full_name":"hagenburger/pimd","owner":{"login":"hagenburger","id":103399,"node_id":"MDQ6VXNlcjEwMzM5OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/103399?v=4","gravatar_id":"","url":"https://api.github.com/users/hagenburger","html_url":"https://github.com/hagenburger","followers_url":"https://api.github.com/users/hagenburger/followers","following_url":"https://api.github.com/users/hagenburger/following{/other_user}","gists_url":"https://api.github.com/users/hagenburger/gists{/gist_id}","starred_url":"https://api.github.com/users/hagenburger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hagenburger/subscriptions","organizations_url":"https://api.github.com/users/hagenburger/orgs","repos_url":"https://api.github.com/users/hagenburger/repos","events_url":"https://api.github.com/users/hagenburger/events{/privacy}","received_events_url":"https://api.github.com/users/hagenburger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hagenburger/pimd","description":"PIMD – Processing Instructions for Markdown","fork":false,"url":"https://api.github.com/repos/hagenburger/pimd","forks_url":"https://api.github.com/repos/hagenburger/pimd/forks","keys_url":"https://api.github.com/repos/hagenburger/pimd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hagenburger/pimd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hagenburger/pimd/teams","hooks_url":"https://api.github.com/repos/hagenburger/pimd/hooks","issue_events_url":"https://api.github.com/repos/hagenburger/pimd/issues/events{/number}","events_url":"https://api.github.com/repos/hagenburger/pimd/events","assignees_url":"https://api.github.com/repos/hagenburger/pimd/assignees{/user}","branches_url":"https://api.github.com/repos/hagenburger/pimd/branches{/branch}","tags_url":"https://api.github.com/repos/hagenburger/pimd/tags","blobs_url":"https://api.github.com/repos/hagenburger/pimd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hagenburger/pimd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hagenburger/pimd/git/refs{/sha}","trees_url":"https://api.github.com/repos/hagenburger/pimd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hagenburger/pimd/statuses/{sha}","languages_url":"https://api.github.com/repos/hagenburger/pimd/languages","stargazers_url":"https://api.github.com/repos/hagenburger/pimd/stargazers","contributors_url":"https://api.github.com/repos/hagenburger/pimd/contributors","subscribers_url":"https://api.github.com/repos/hagenburger/pimd/subscribers","subscription_url":"https://api.github.com/repos/hagenburger/pimd/subscription","commits_url":"https://api.github.com/repos/hagenburger/pimd/commits{/sha}","git_commits_url":"https://api.github.com/repos/hagenburger/pimd/git/commits{/sha}","comments_url":"https://api.github.com/repos/hagenburger/pimd/comments{/number}","issue_comment_url":"https://api.github.com/repos/hagenburger/pimd/issues/comments{/number}","contents_url":"https://api.github.com/repos/hagenburger/pimd/contents/{+path}","compare_url":"https://api.github.com/repos/hagenburger/pimd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hagenburger/pimd/merges","archive_url":"https://api.github.com/repos/hagenburger/pimd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hagenburger/pimd/downloads","issues_url":"https://api.github.com/repos/hagenburger/pimd/issues{/number}","pulls_url":"https://api.github.com/repos/hagenburger/pimd/pulls{/number}","milestones_url":"https://api.github.com/repos/hagenburger/pimd/milestones{/number}","notifications_url":"https://api.github.com/repos/hagenburger/pimd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hagenburger/pimd/labels{/name}","releases_url":"https://api.github.com/repos/hagenburger/pimd/releases{/id}","deployments_url":"https://api.github.com/repos/hagenburger/pimd/deployments","created_at":"2018-05-14T05:55:20Z","updated_at":"2018-07-30T06:55:45Z","pushed_at":"2018-07-30T19:17:52Z","git_url":"git://github.com/hagenburger/pimd.git","ssh_url":"git@github.com:hagenburger/pimd.git","clone_url":"https://github.com/hagenburger/pimd.git","svn_url":"https://github.com/hagenburger/pimd","homepage":"","size":70,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hagenburger/pimd/pulls/4"},"html":{"href":"https://github.com/hagenburger/pimd/pull/4"},"issue":{"href":"https://api.github.com/repos/hagenburger/pimd/issues/4"},"comments":{"href":"https://api.github.com/repos/hagenburger/pimd/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/hagenburger/pimd/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/hagenburger/pimd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hagenburger/pimd/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/hagenburger/pimd/statuses/17a9f4ab440f8cf378cfe6ebac27747518cfe847"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}