84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
请问一下,现在有获取一个json的html文件,但是html只有文章主题,其他样式都没有,有什么办法可以对其样式进行渲染吗
Are you using webview to display HTML? If so, then it should be the same as web code highlighting. That is, you need to parse the html and then embed a code highlighting js into it, such as highlight.js, etc.
Google has a streamlined and efficient code highlighting solution, it seems to be called pretty code, it is a js library, you can check it out
Are you using webview to display HTML? If so, then it should be the same as web code highlighting.
That is, you need to parse the html and then embed a code highlighting js into it, such as highlight.js, etc.
Google has a streamlined and efficient code highlighting solution, it seems to be called pretty code, it is a js library, you can check it out