{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/pulls/8","id":204651925,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NjUxOTI1","html_url":"https://github.com/markdown-it/markdown-it-abbr/pull/8","diff_url":"https://github.com/markdown-it/markdown-it-abbr/pull/8.diff","patch_url":"https://github.com/markdown-it/markdown-it-abbr/pull/8.patch","issue_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/issues/8","number":8,"state":"closed","locked":false,"title":"feat: add arguments to supply a json list of abbreviation definitions","user":{"login":"katja-brunner","id":37417561,"node_id":"MDQ6VXNlcjM3NDE3NTYx","avatar_url":"https://avatars1.githubusercontent.com/u/37417561?v=4","gravatar_id":"","url":"https://api.github.com/users/katja-brunner","html_url":"https://github.com/katja-brunner","followers_url":"https://api.github.com/users/katja-brunner/followers","following_url":"https://api.github.com/users/katja-brunner/following{/other_user}","gists_url":"https://api.github.com/users/katja-brunner/gists{/gist_id}","starred_url":"https://api.github.com/users/katja-brunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katja-brunner/subscriptions","organizations_url":"https://api.github.com/users/katja-brunner/orgs","repos_url":"https://api.github.com/users/katja-brunner/repos","events_url":"https://api.github.com/users/katja-brunner/events{/privacy}","received_events_url":"https://api.github.com/users/katja-brunner/received_events","type":"User","site_admin":false},"body":"### Pass a json list of abbr definitions\r\n\r\n```js\r\nvar abbrDefList = {\r\n    \"HTML\": \"Hyper Text Markup Language\",\r\n    \"W3C\": \"World Wide Web Consortium\"\r\n};\r\n\r\nvar md = require('markdown-it')()\r\n            .use(require('markdown-it-abbr'), abbrDefList);\r\n\r\nmd.render(/*...*/) // see example above\r\n```\r\n\r\nThe list will be merged with the reference style abbreviation definitions like `*[HTML]: Hyper Text Markup Language` inside the markdown files (file definitions overwrite existing list definitions by default). To let list definitions overwrite existing definitions in the markdown file instead, pass a third argument `listPriorsFile` with `true`:\r\n\r\n```js\r\nvar md = require('markdown-it')()\r\n            .use(require('markdown-it-abbr'), abbrDefList, true);\r\n```","created_at":"2018-07-29T17:12:58Z","updated_at":"2018-07-29T17:46:25Z","closed_at":"2018-07-29T17:46:25Z","merged_at":null,"merge_commit_sha":"bad320560c246bd5dd9bbebdc9e973f498c80cbb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/pulls/8/commits","review_comments_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/pulls/8/comments","review_comment_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/issues/8/comments","statuses_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/statuses/abbda6236db0dd5dfa04d6c9576703d45e7dd36f","head":{"label":"katja-brunner:abbr-def-list","ref":"abbr-def-list","sha":"abbda6236db0dd5dfa04d6c9576703d45e7dd36f","user":{"login":"katja-brunner","id":37417561,"node_id":"MDQ6VXNlcjM3NDE3NTYx","avatar_url":"https://avatars1.githubusercontent.com/u/37417561?v=4","gravatar_id":"","url":"https://api.github.com/users/katja-brunner","html_url":"https://github.com/katja-brunner","followers_url":"https://api.github.com/users/katja-brunner/followers","following_url":"https://api.github.com/users/katja-brunner/following{/other_user}","gists_url":"https://api.github.com/users/katja-brunner/gists{/gist_id}","starred_url":"https://api.github.com/users/katja-brunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katja-brunner/subscriptions","organizations_url":"https://api.github.com/users/katja-brunner/orgs","repos_url":"https://api.github.com/users/katja-brunner/repos","events_url":"https://api.github.com/users/katja-brunner/events{/privacy}","received_events_url":"https://api.github.com/users/katja-brunner/received_events","type":"User","site_admin":false},"repo":{"id":142779083,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI3NzkwODM=","name":"markdown-it-abbr","full_name":"katja-brunner/markdown-it-abbr","owner":{"login":"katja-brunner","id":37417561,"node_id":"MDQ6VXNlcjM3NDE3NTYx","avatar_url":"https://avatars1.githubusercontent.com/u/37417561?v=4","gravatar_id":"","url":"https://api.github.com/users/katja-brunner","html_url":"https://github.com/katja-brunner","followers_url":"https://api.github.com/users/katja-brunner/followers","following_url":"https://api.github.com/users/katja-brunner/following{/other_user}","gists_url":"https://api.github.com/users/katja-brunner/gists{/gist_id}","starred_url":"https://api.github.com/users/katja-brunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katja-brunner/subscriptions","organizations_url":"https://api.github.com/users/katja-brunner/orgs","repos_url":"https://api.github.com/users/katja-brunner/repos","events_url":"https://api.github.com/users/katja-brunner/events{/privacy}","received_events_url":"https://api.github.com/users/katja-brunner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/katja-brunner/markdown-it-abbr","description":"Abbreviation (<abbr>) tag plugin for markdown-it markdown parser","fork":true,"url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr","forks_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/forks","keys_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/teams","hooks_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/hooks","issue_events_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/issues/events{/number}","events_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/events","assignees_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/assignees{/user}","branches_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/branches{/branch}","tags_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/tags","blobs_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/git/refs{/sha}","trees_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/statuses/{sha}","languages_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/languages","stargazers_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/stargazers","contributors_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/contributors","subscribers_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/subscribers","subscription_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/subscription","commits_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/commits{/sha}","git_commits_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/git/commits{/sha}","comments_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/comments{/number}","issue_comment_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/issues/comments{/number}","contents_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/contents/{+path}","compare_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/merges","archive_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/downloads","issues_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/issues{/number}","pulls_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/pulls{/number}","milestones_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/milestones{/number}","notifications_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/labels{/name}","releases_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/releases{/id}","deployments_url":"https://api.github.com/repos/katja-brunner/markdown-it-abbr/deployments","created_at":"2018-07-29T17:00:17Z","updated_at":"2018-07-29T17:00:19Z","pushed_at":"2018-07-29T17:05:10Z","git_url":"git://github.com/katja-brunner/markdown-it-abbr.git","ssh_url":"git@github.com:katja-brunner/markdown-it-abbr.git","clone_url":"https://github.com/katja-brunner/markdown-it-abbr.git","svn_url":"https://github.com/katja-brunner/markdown-it-abbr","homepage":"https://markdown-it.github.io/","size":24,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"markdown-it:master","ref":"master","sha":"cc1dc5ca200339d25ea303098b2c20423e700239","user":{"login":"markdown-it","id":10248321,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjQ4MzIx","avatar_url":"https://avatars1.githubusercontent.com/u/10248321?v=4","gravatar_id":"","url":"https://api.github.com/users/markdown-it","html_url":"https://github.com/markdown-it","followers_url":"https://api.github.com/users/markdown-it/followers","following_url":"https://api.github.com/users/markdown-it/following{/other_user}","gists_url":"https://api.github.com/users/markdown-it/gists{/gist_id}","starred_url":"https://api.github.com/users/markdown-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdown-it/subscriptions","organizations_url":"https://api.github.com/users/markdown-it/orgs","repos_url":"https://api.github.com/users/markdown-it/repos","events_url":"https://api.github.com/users/markdown-it/events{/privacy}","received_events_url":"https://api.github.com/users/markdown-it/received_events","type":"Organization","site_admin":false},"repo":{"id":28758663,"node_id":"MDEwOlJlcG9zaXRvcnkyODc1ODY2Mw==","name":"markdown-it-abbr","full_name":"markdown-it/markdown-it-abbr","owner":{"login":"markdown-it","id":10248321,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjQ4MzIx","avatar_url":"https://avatars1.githubusercontent.com/u/10248321?v=4","gravatar_id":"","url":"https://api.github.com/users/markdown-it","html_url":"https://github.com/markdown-it","followers_url":"https://api.github.com/users/markdown-it/followers","following_url":"https://api.github.com/users/markdown-it/following{/other_user}","gists_url":"https://api.github.com/users/markdown-it/gists{/gist_id}","starred_url":"https://api.github.com/users/markdown-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdown-it/subscriptions","organizations_url":"https://api.github.com/users/markdown-it/orgs","repos_url":"https://api.github.com/users/markdown-it/repos","events_url":"https://api.github.com/users/markdown-it/events{/privacy}","received_events_url":"https://api.github.com/users/markdown-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/markdown-it/markdown-it-abbr","description":"Abbreviation (<abbr>) tag plugin for markdown-it markdown parser","fork":false,"url":"https://api.github.com/repos/markdown-it/markdown-it-abbr","forks_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/forks","keys_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/teams","hooks_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/hooks","issue_events_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/issues/events{/number}","events_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/events","assignees_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/assignees{/user}","branches_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/branches{/branch}","tags_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/tags","blobs_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/git/refs{/sha}","trees_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/statuses/{sha}","languages_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/languages","stargazers_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/stargazers","contributors_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/contributors","subscribers_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/subscribers","subscription_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/subscription","commits_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/commits{/sha}","git_commits_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/git/commits{/sha}","comments_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/comments{/number}","issue_comment_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/issues/comments{/number}","contents_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/contents/{+path}","compare_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/merges","archive_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/downloads","issues_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/issues{/number}","pulls_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/pulls{/number}","milestones_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/milestones{/number}","notifications_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/labels{/name}","releases_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/releases{/id}","deployments_url":"https://api.github.com/repos/markdown-it/markdown-it-abbr/deployments","created_at":"2015-01-04T00:29:49Z","updated_at":"2018-04-10T03:22:14Z","pushed_at":"2018-07-29T17:12:59Z","git_url":"git://github.com/markdown-it/markdown-it-abbr.git","ssh_url":"git@github.com:markdown-it/markdown-it-abbr.git","clone_url":"https://github.com/markdown-it/markdown-it-abbr.git","svn_url":"https://github.com/markdown-it/markdown-it-abbr","homepage":"https://markdown-it.github.io/","size":24,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"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":8,"open_issues":0,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/markdown-it/markdown-it-abbr/pulls/8"},"html":{"href":"https://github.com/markdown-it/markdown-it-abbr/pull/8"},"issue":{"href":"https://api.github.com/repos/markdown-it/markdown-it-abbr/issues/8"},"comments":{"href":"https://api.github.com/repos/markdown-it/markdown-it-abbr/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/markdown-it/markdown-it-abbr/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/markdown-it/markdown-it-abbr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/markdown-it/markdown-it-abbr/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/markdown-it/markdown-it-abbr/statuses/abbda6236db0dd5dfa04d6c9576703d45e7dd36f"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":57,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"puzrin"}}