{"action":"created","issue":{"url":"https://api.github.com/repos/meili/minui/issues/109","repository_url":"https://api.github.com/repos/meili/minui","labels_url":"https://api.github.com/repos/meili/minui/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/meili/minui/issues/109/comments","events_url":"https://api.github.com/repos/meili/minui/issues/109/events","html_url":"https://github.com/meili/minui/issues/109","id":387581684,"node_id":"MDU6SXNzdWUzODc1ODE2ODQ=","number":109,"title":"如何将代码转成可以带高亮样式的字符串","user":{"login":"maxxiaobao","id":12168865,"node_id":"MDQ6VXNlcjEyMTY4ODY1","avatar_url":"https://avatars1.githubusercontent.com/u/12168865?v=4","gravatar_id":"","url":"https://api.github.com/users/maxxiaobao","html_url":"https://github.com/maxxiaobao","followers_url":"https://api.github.com/users/maxxiaobao/followers","following_url":"https://api.github.com/users/maxxiaobao/following{/other_user}","gists_url":"https://api.github.com/users/maxxiaobao/gists{/gist_id}","starred_url":"https://api.github.com/users/maxxiaobao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxxiaobao/subscriptions","organizations_url":"https://api.github.com/users/maxxiaobao/orgs","repos_url":"https://api.github.com/users/maxxiaobao/repos","events_url":"https://api.github.com/users/maxxiaobao/events{/privacy}","received_events_url":"https://api.github.com/users/maxxiaobao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T03:49:24Z","updated_at":"2018-12-06T02:37:08Z","closed_at":null,"author_association":"NONE","body":"看到你们的code demo 功能很好，在使用时如何把代码转成带高亮样式的字符串呢？\r\n比如 \r\n`<view class=\"link\">帮助中心 </view>`\r\n转成\r\n`<code class=\"lang-html md-code\"><span class=\"xml\"><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">view</span><span class=\"hljs-attr\">class</span>=<span class=\"hljs-string\">link</span>` \r\n这个有什么工具吗？"},"comment":{"url":"https://api.github.com/repos/meili/minui/issues/comments/444727412","html_url":"https://github.com/meili/minui/issues/109#issuecomment-444727412","issue_url":"https://api.github.com/repos/meili/minui/issues/109","id":444727412,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDcyNzQxMg==","user":{"login":"maxxiaobao","id":12168865,"node_id":"MDQ6VXNlcjEyMTY4ODY1","avatar_url":"https://avatars1.githubusercontent.com/u/12168865?v=4","gravatar_id":"","url":"https://api.github.com/users/maxxiaobao","html_url":"https://github.com/maxxiaobao","followers_url":"https://api.github.com/users/maxxiaobao/followers","following_url":"https://api.github.com/users/maxxiaobao/following{/other_user}","gists_url":"https://api.github.com/users/maxxiaobao/gists{/gist_id}","starred_url":"https://api.github.com/users/maxxiaobao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxxiaobao/subscriptions","organizations_url":"https://api.github.com/users/maxxiaobao/orgs","repos_url":"https://api.github.com/users/maxxiaobao/repos","events_url":"https://api.github.com/users/maxxiaobao/events{/privacy}","received_events_url":"https://api.github.com/users/maxxiaobao/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T02:37:08Z","updated_at":"2018-12-06T02:37:08Z","author_association":"NONE","body":"@cds803 @min-team 可以回答下吗？万分感谢！"}}
{"actor":{"display_login":"maxxiaobao"}}