Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fanmlei opened this issue Mar 27, 2019 · 2 comments
Open

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

fanmlei opened this issue Mar 27, 2019 · 2 comments

Comments

@fanmlei
Copy link

fanmlei commented Mar 27, 2019

```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
没有高亮,不知道是不是代码问题,其他语言支持

@TooBug
Copy link
Owner

TooBug commented Mar 27, 2019

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

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

@fanmlei
Copy link
Author

fanmlei commented Mar 27, 2019

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

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

感谢,已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants