{"action":"opened","number":215,"pull_request":{"url":"https://api.github.com/repos/nuxt-community/modules/pulls/215","id":210495192,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNDk1MTky","html_url":"https://github.com/nuxt-community/modules/pull/215","diff_url":"https://github.com/nuxt-community/modules/pull/215.diff","patch_url":"https://github.com/nuxt-community/modules/pull/215.patch","issue_url":"https://api.github.com/repos/nuxt-community/modules/issues/215","number":215,"state":"open","locked":false,"title":"markdownit plugin options fix","user":{"login":"janzheng","id":3868520,"node_id":"MDQ6VXNlcjM4Njg1MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/3868520?v=4","gravatar_id":"","url":"https://api.github.com/users/janzheng","html_url":"https://github.com/janzheng","followers_url":"https://api.github.com/users/janzheng/followers","following_url":"https://api.github.com/users/janzheng/following{/other_user}","gists_url":"https://api.github.com/users/janzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/janzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janzheng/subscriptions","organizations_url":"https://api.github.com/users/janzheng/orgs","repos_url":"https://api.github.com/users/janzheng/repos","events_url":"https://api.github.com/users/janzheng/events{/privacy}","received_events_url":"https://api.github.com/users/janzheng/received_events","type":"User","site_admin":false},"body":"Originally, when `injected: true` in `nuxt.config.js`, plugins would only work through `$md.render()` and not through the template `<template lang=\"md\"> ...`. Setting `injected: false` would allow plugins to work again.\r\n\r\nIn `markdownit/index.js`, passing in` _options` would prevent the non-injected markdown renderer from using plugins properly, because the array of plugins gets `array.shift()`ed\r\n\r\nUsing Object.assign lets the markdown renderer to use plugins both with `lang=\"md\"` and through `$md.render()` when `injected: true`.","created_at":"2018-08-23T15:50:41Z","updated_at":"2018-08-23T15:50:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nuxt-community/modules/pulls/215/commits","review_comments_url":"https://api.github.com/repos/nuxt-community/modules/pulls/215/comments","review_comment_url":"https://api.github.com/repos/nuxt-community/modules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nuxt-community/modules/issues/215/comments","statuses_url":"https://api.github.com/repos/nuxt-community/modules/statuses/9950e8e819cccf825fa3ed6cd2aa5cd01b6d1a2a","head":{"label":"janzheng:master","ref":"master","sha":"9950e8e819cccf825fa3ed6cd2aa5cd01b6d1a2a","user":{"login":"janzheng","id":3868520,"node_id":"MDQ6VXNlcjM4Njg1MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/3868520?v=4","gravatar_id":"","url":"https://api.github.com/users/janzheng","html_url":"https://github.com/janzheng","followers_url":"https://api.github.com/users/janzheng/followers","following_url":"https://api.github.com/users/janzheng/following{/other_user}","gists_url":"https://api.github.com/users/janzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/janzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janzheng/subscriptions","organizations_url":"https://api.github.com/users/janzheng/orgs","repos_url":"https://api.github.com/users/janzheng/repos","events_url":"https://api.github.com/users/janzheng/events{/privacy}","received_events_url":"https://api.github.com/users/janzheng/received_events","type":"User","site_admin":false},"repo":{"id":145874521,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4NzQ1MjE=","name":"modules","full_name":"janzheng/modules","owner":{"login":"janzheng","id":3868520,"node_id":"MDQ6VXNlcjM4Njg1MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/3868520?v=4","gravatar_id":"","url":"https://api.github.com/users/janzheng","html_url":"https://github.com/janzheng","followers_url":"https://api.github.com/users/janzheng/followers","following_url":"https://api.github.com/users/janzheng/following{/other_user}","gists_url":"https://api.github.com/users/janzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/janzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janzheng/subscriptions","organizations_url":"https://api.github.com/users/janzheng/orgs","repos_url":"https://api.github.com/users/janzheng/repos","events_url":"https://api.github.com/users/janzheng/events{/privacy}","received_events_url":"https://api.github.com/users/janzheng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/janzheng/modules","description":"Official Nuxt.js modules.","fork":true,"url":"https://api.github.com/repos/janzheng/modules","forks_url":"https://api.github.com/repos/janzheng/modules/forks","keys_url":"https://api.github.com/repos/janzheng/modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/janzheng/modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/janzheng/modules/teams","hooks_url":"https://api.github.com/repos/janzheng/modules/hooks","issue_events_url":"https://api.github.com/repos/janzheng/modules/issues/events{/number}","events_url":"https://api.github.com/repos/janzheng/modules/events","assignees_url":"https://api.github.com/repos/janzheng/modules/assignees{/user}","branches_url":"https://api.github.com/repos/janzheng/modules/branches{/branch}","tags_url":"https://api.github.com/repos/janzheng/modules/tags","blobs_url":"https://api.github.com/repos/janzheng/modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/janzheng/modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/janzheng/modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/janzheng/modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/janzheng/modules/statuses/{sha}","languages_url":"https://api.github.com/repos/janzheng/modules/languages","stargazers_url":"https://api.github.com/repos/janzheng/modules/stargazers","contributors_url":"https://api.github.com/repos/janzheng/modules/contributors","subscribers_url":"https://api.github.com/repos/janzheng/modules/subscribers","subscription_url":"https://api.github.com/repos/janzheng/modules/subscription","commits_url":"https://api.github.com/repos/janzheng/modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/janzheng/modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/janzheng/modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/janzheng/modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/janzheng/modules/contents/{+path}","compare_url":"https://api.github.com/repos/janzheng/modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/janzheng/modules/merges","archive_url":"https://api.github.com/repos/janzheng/modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/janzheng/modules/downloads","issues_url":"https://api.github.com/repos/janzheng/modules/issues{/number}","pulls_url":"https://api.github.com/repos/janzheng/modules/pulls{/number}","milestones_url":"https://api.github.com/repos/janzheng/modules/milestones{/number}","notifications_url":"https://api.github.com/repos/janzheng/modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/janzheng/modules/labels{/name}","releases_url":"https://api.github.com/repos/janzheng/modules/releases{/id}","deployments_url":"https://api.github.com/repos/janzheng/modules/deployments","created_at":"2018-08-23T15:41:49Z","updated_at":"2018-08-23T15:44:32Z","pushed_at":"2018-08-23T15:44:30Z","git_url":"git://github.com/janzheng/modules.git","ssh_url":"git@github.com:janzheng/modules.git","clone_url":"https://github.com/janzheng/modules.git","svn_url":"https://github.com/janzheng/modules","homepage":null,"size":536,"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":"nuxt-community:master","ref":"master","sha":"3a421b3429ca69aa5270ecb7392ccee2117349e0","user":{"login":"nuxt-community","id":29566738,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTY2NzM4","avatar_url":"https://avatars2.githubusercontent.com/u/29566738?v=4","gravatar_id":"","url":"https://api.github.com/users/nuxt-community","html_url":"https://github.com/nuxt-community","followers_url":"https://api.github.com/users/nuxt-community/followers","following_url":"https://api.github.com/users/nuxt-community/following{/other_user}","gists_url":"https://api.github.com/users/nuxt-community/gists{/gist_id}","starred_url":"https://api.github.com/users/nuxt-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuxt-community/subscriptions","organizations_url":"https://api.github.com/users/nuxt-community/orgs","repos_url":"https://api.github.com/users/nuxt-community/repos","events_url":"https://api.github.com/users/nuxt-community/events{/privacy}","received_events_url":"https://api.github.com/users/nuxt-community/received_events","type":"Organization","site_admin":false},"repo":{"id":90622364,"node_id":"MDEwOlJlcG9zaXRvcnk5MDYyMjM2NA==","name":"modules","full_name":"nuxt-community/modules","owner":{"login":"nuxt-community","id":29566738,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTY2NzM4","avatar_url":"https://avatars2.githubusercontent.com/u/29566738?v=4","gravatar_id":"","url":"https://api.github.com/users/nuxt-community","html_url":"https://github.com/nuxt-community","followers_url":"https://api.github.com/users/nuxt-community/followers","following_url":"https://api.github.com/users/nuxt-community/following{/other_user}","gists_url":"https://api.github.com/users/nuxt-community/gists{/gist_id}","starred_url":"https://api.github.com/users/nuxt-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuxt-community/subscriptions","organizations_url":"https://api.github.com/users/nuxt-community/orgs","repos_url":"https://api.github.com/users/nuxt-community/repos","events_url":"https://api.github.com/users/nuxt-community/events{/privacy}","received_events_url":"https://api.github.com/users/nuxt-community/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nuxt-community/modules","description":"Official Nuxt.js modules.","fork":false,"url":"https://api.github.com/repos/nuxt-community/modules","forks_url":"https://api.github.com/repos/nuxt-community/modules/forks","keys_url":"https://api.github.com/repos/nuxt-community/modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nuxt-community/modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nuxt-community/modules/teams","hooks_url":"https://api.github.com/repos/nuxt-community/modules/hooks","issue_events_url":"https://api.github.com/repos/nuxt-community/modules/issues/events{/number}","events_url":"https://api.github.com/repos/nuxt-community/modules/events","assignees_url":"https://api.github.com/repos/nuxt-community/modules/assignees{/user}","branches_url":"https://api.github.com/repos/nuxt-community/modules/branches{/branch}","tags_url":"https://api.github.com/repos/nuxt-community/modules/tags","blobs_url":"https://api.github.com/repos/nuxt-community/modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nuxt-community/modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nuxt-community/modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/nuxt-community/modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nuxt-community/modules/statuses/{sha}","languages_url":"https://api.github.com/repos/nuxt-community/modules/languages","stargazers_url":"https://api.github.com/repos/nuxt-community/modules/stargazers","contributors_url":"https://api.github.com/repos/nuxt-community/modules/contributors","subscribers_url":"https://api.github.com/repos/nuxt-community/modules/subscribers","subscription_url":"https://api.github.com/repos/nuxt-community/modules/subscription","commits_url":"https://api.github.com/repos/nuxt-community/modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/nuxt-community/modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/nuxt-community/modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/nuxt-community/modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/nuxt-community/modules/contents/{+path}","compare_url":"https://api.github.com/repos/nuxt-community/modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nuxt-community/modules/merges","archive_url":"https://api.github.com/repos/nuxt-community/modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nuxt-community/modules/downloads","issues_url":"https://api.github.com/repos/nuxt-community/modules/issues{/number}","pulls_url":"https://api.github.com/repos/nuxt-community/modules/pulls{/number}","milestones_url":"https://api.github.com/repos/nuxt-community/modules/milestones{/number}","notifications_url":"https://api.github.com/repos/nuxt-community/modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nuxt-community/modules/labels{/name}","releases_url":"https://api.github.com/repos/nuxt-community/modules/releases{/id}","deployments_url":"https://api.github.com/repos/nuxt-community/modules/deployments","created_at":"2017-05-08T11:49:42Z","updated_at":"2018-08-20T09:02:48Z","pushed_at":"2018-08-06T20:37:14Z","git_url":"git://github.com/nuxt-community/modules.git","ssh_url":"git@github.com:nuxt-community/modules.git","clone_url":"https://github.com/nuxt-community/modules.git","svn_url":"https://github.com/nuxt-community/modules","homepage":null,"size":536,"stargazers_count":553,"watchers_count":553,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":98,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":98,"open_issues":35,"watchers":553,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nuxt-community/modules/pulls/215"},"html":{"href":"https://github.com/nuxt-community/modules/pull/215"},"issue":{"href":"https://api.github.com/repos/nuxt-community/modules/issues/215"},"comments":{"href":"https://api.github.com/repos/nuxt-community/modules/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/nuxt-community/modules/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/nuxt-community/modules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nuxt-community/modules/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/nuxt-community/modules/statuses/9950e8e819cccf825fa3ed6cd2aa5cd01b6d1a2a"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"janzheng"}}