wemark icon indicating copy to clipboard operation
wemark copied to clipboard

请问C语言代码支持高亮么?

Open fanmlei opened this issue 5 years ago • 2 comments

```c //WIFI名称 const char* ssid = "........"; //WIFI密码 const char* password = "........";
//MQTT服务器地址 const char* mqtt_server = "iotforfml.cn";

//依次填入客户端ID、设备ID、token if (client.connect("123","123","123123")) {
Serial.println("connected"); //上图中的客户端ID (用于接收服务器发送过来的消息) client.subscribe("client_148675");
} //数据流ID、数据 client.publish("969081167", "your msg");
``` image 没有高亮,不知道是不是代码问题,其他语言支持

fanmlei avatar Mar 27 '19 05:03 fanmlei

https://github.com/TooBug/wemark/blob/master/wemark/prism.js

因为小程序体积的原因,源码中没有包含C的高亮。目前可以手工从prism中把这部分拷过来。

TooBug avatar Mar 27 '19 06:03 TooBug

https://github.com/TooBug/wemark/blob/master/wemark/prism.js

因为小程序体积的原因,源码中没有包含C的高亮。目前可以手工从prism中把这部分拷过来。

感谢,已解决

fanmlei avatar Mar 27 '19 07:03 fanmlei