Skip to content

Commit 38dc41f

Browse files
authored
Merge pull request Tencent#72 from ForkRepo/fix-readme
update README.md style
2 parents e0ba71f + 534feef commit 38dc41f

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

README.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,18 @@ It is proved to be effective by billions of Wechat users.
1818

1919
![mars](https://github.com/WeMobileDev/article/blob/master/assets/mars/mars.png?raw=true)
2020

21-
* commcommon library, including socket, thread, message queue, coroutine, etc.
22-
* Xloga reliable log component with high-performance.
23-
* SDT a network detection component.
24-
* STN a signaling network component, the major part of Mars.
21+
* comm: common library, including socket, thread, message queue, coroutine, etc.
22+
* Xlog: a reliable log component with high-performance.
23+
* SDT: a network detection component.
24+
* STN: a signaling network component, the major part of Mars.
2525

2626
## Samples
2727

28-
Start with sample usage [here](https://github.com/Tencent/mars/wiki/Mars-sample-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E)
28+
Start with sample usage [here](https://github.com/Tencent/mars/wiki/Mars-sample-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E).
2929

3030
## Getting started
31-
Choose [Android](#android) or [iOS/OS X](#apple)
31+
32+
Choose [Android](#android) or [iOS/OS X](#apple).
3233

3334
### <a name="android">[Android](https://github.com/Tencent/mars/wiki/Mars-Android-%E6%8E%A5%E5%85%A5%E6%8C%87%E5%8D%97)</a>
3435

@@ -273,6 +274,7 @@ Network change:
273274
```
274275

275276
## Support
277+
276278
Any problem?
277279

278280
1. Learn more from [mars/sample](https://github.com/Tencent/mars/tree/master/samples).
@@ -281,9 +283,11 @@ Any problem?
281283
4. Contact us for help.
282284

283285
## Contributing
286+
284287
For more information about contributing issues or pull requests, see our [Mars Contributing Guide](https://github.com/Tencent/mars/blob/master/CONTRIBUTING.md).
285288

286289
## License
290+
287291
Mars is under the MIT license. See the [LICENSE](https://github.com/Tencent/mars/blob/master/LICENSE) file for details.
288292

289293

@@ -308,10 +312,11 @@ Mars 是微信官方的跨平台跨业务的终端基础组件。
308312

309313
##Samples
310314

311-
sample 的使用请参考[这里](https://github.com/Tencent/mars/wiki/Mars-sample-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E)
315+
sample 的使用请参考[这里](https://github.com/Tencent/mars/wiki/Mars-sample-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E)
312316

313317
##Getting started
314-
接入 [Android](#android) 或者 [iOS/OS X](#apple)
318+
319+
接入 [Android](#android) 或者 [iOS/OS X](#apple)
315320

316321
###<a name="android">[Android](https://github.com/Tencent/mars/wiki/Mars-Android-%E6%8E%A5%E5%85%A5%E6%8C%87%E5%8D%97)</a>
317322

@@ -399,7 +404,7 @@ BaseEvent.onForeground(true);
399404
StnLogic.makesureLongLinkConnected();
400405
```
401406

402-
初始化顺序不一定要严格遵守上述代码的顺序,但在初始化时首先要调用 setCallBack 接口 (callback 文件的编写可以参考 demo),再调用 Mars.init,最后再调用onForeground 和 makesureLongLinkConnect,中间顺序可以随意更改。**注意:STN 默认是后台,所以初始化 STN 后需要主动调用一次**```BaseEvent.onForeground(true)```
407+
初始化顺序不一定要严格遵守上述代码的顺序,但在初始化时首先要调用 setCallBack 接口 (callback 文件的编写可以参考 demo),再调用 Mars.init,最后再调用 onForeground 和 makesureLongLinkConnect,中间顺序可以随意更改。**注意:STN 默认是后台,所以初始化 STN 后需要主动调用一次**```BaseEvent.onForeground(true)```
403408

404409
需要释放 STN 或者退出程序时:
405410

@@ -559,15 +564,16 @@ appender_close();
559564
```
560565

561566
## Support
567+
562568
还有其他问题?
563569

564-
1. 参看 [mars/sample](https://github.com/Tencent/mars/tree/master/samples).
565-
2. 阅读 [源码](https://github.com/Tencent/mars/tree/master).
566-
3. 阅读 [wiki](https://github.com/Tencent/mars/wiki) 或者 [FAQ](https://github.com/Tencent/mars/wiki/Mars-%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
567-
4. 联系我们.
570+
1. 参看 [mars/sample](https://github.com/Tencent/mars/tree/master/samples)
571+
2. 阅读 [源码](https://github.com/Tencent/mars/tree/master)
572+
3. 阅读 [wiki](https://github.com/Tencent/mars/wiki) 或者 [FAQ](https://github.com/Tencent/mars/wiki/Mars-%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
573+
4. 联系我们
568574

569575
## Contributing
570-
关于 Mars 分支管理、issue 以及 pr 规范, 请阅读 [Mars Contributing Guide](https://github.com/Tencent/mars/blob/master/CONTRIBUTING.md).
576+
关于 Mars 分支管理、issue 以及 pr 规范请阅读 [Mars Contributing Guide](https://github.com/Tencent/mars/blob/master/CONTRIBUTING.md)
571577

572578
## License
573-
Mars 使用的 MIT 协议,详细请参考[LICENSE](https://github.com/Tencent/mars/blob/master/LICENSE).
579+
Mars 使用的 MIT 协议,详细请参考 [LICENSE](https://github.com/Tencent/mars/blob/master/LICENSE)

0 commit comments

Comments
 (0)