{"action":"created","issue":{"url":"https://api.github.com/repos/markdown-it/markdown-it/issues/12","repository_url":"https://api.github.com/repos/markdown-it/markdown-it","labels_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/12/comments","events_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/12/events","html_url":"https://github.com/markdown-it/markdown-it/issues/12","id":52931854,"node_id":"MDU6SXNzdWU1MjkzMTg1NA==","number":12,"title":"How to disable all rules, and then enable only couple?","user":{"login":"rpominov","id":825702,"node_id":"MDQ6VXNlcjgyNTcwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/825702?v=4","gravatar_id":"","url":"https://api.github.com/users/rpominov","html_url":"https://github.com/rpominov","followers_url":"https://api.github.com/users/rpominov/followers","following_url":"https://api.github.com/users/rpominov/following{/other_user}","gists_url":"https://api.github.com/users/rpominov/gists{/gist_id}","starred_url":"https://api.github.com/users/rpominov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpominov/subscriptions","organizations_url":"https://api.github.com/users/rpominov/orgs","repos_url":"https://api.github.com/users/rpominov/repos","events_url":"https://api.github.com/users/rpominov/events{/privacy}","received_events_url":"https://api.github.com/users/rpominov/received_events","type":"User","site_admin":false},"labels":[{"id":159166596,"node_id":"MDU6TGFiZWwxNTkxNjY1OTY=","url":"https://api.github.com/repos/markdown-it/markdown-it/labels/question","name":"question","color":"fef2c0","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2014-12-26T17:05:44Z","updated_at":"2019-01-03T00:40:09Z","closed_at":"2014-12-26T18:08:32Z","author_association":"NONE","body":"Hi,\n\nFirst of all, thanks for the great library!\n\nI have a little question on configuration. I am trying to use the library to do only a couple of things (`**bold**`, `[link](...)`, and auto insertion of `<p>` and `<br/>`). Could you please give me some direction of how to do that? For now I even fail to find a way of disabling rules via config hash, and don't know where to find a list of all available rules.\n"},"comment":{"url":"https://api.github.com/repos/markdown-it/markdown-it/issues/comments/451028857","html_url":"https://github.com/markdown-it/markdown-it/issues/12#issuecomment-451028857","issue_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/12","id":451028857,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTAyODg1Nw==","user":{"login":"intijk","id":740501,"node_id":"MDQ6VXNlcjc0MDUwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/740501?v=4","gravatar_id":"","url":"https://api.github.com/users/intijk","html_url":"https://github.com/intijk","followers_url":"https://api.github.com/users/intijk/followers","following_url":"https://api.github.com/users/intijk/following{/other_user}","gists_url":"https://api.github.com/users/intijk/gists{/gist_id}","starred_url":"https://api.github.com/users/intijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intijk/subscriptions","organizations_url":"https://api.github.com/users/intijk/orgs","repos_url":"https://api.github.com/users/intijk/repos","events_url":"https://api.github.com/users/intijk/events{/privacy}","received_events_url":"https://api.github.com/users/intijk/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T00:40:09Z","updated_at":"2019-01-03T00:40:09Z","author_association":"NONE","body":"Thank you for your reply :) @puzrin \r\n\r\nI tried below code and found bold also turned off. So the logic here is to enable both bold and italic or disable both of them, right?\r\n\r\n```javascript\r\n'use strict'\r\nvar MarkdownIt=require('markdown-it')\r\nvar md=new MarkdownIt()\r\n\r\nmd.disable(\"emphasis\")\r\n\r\nvar result=md.render(\"_italic_ **bold**\")\r\nconsole.log(result)\r\n```"}}
{"actor":{"display_login":"intijk"}}