【文件属性】:
文件名称:cbml:CBML代码块标记语言
文件大小:17KB
文件格式:ZIP
更新时间:2021-04-28 11:41:24
language markup cbml
CBML
代码块标记语言(英文:Code Block Markup Language,CBML)是为标记代码区域设计的一种标记语言。
背景
为什么要标记代码区域?
目前标记代码主要功能
表示一段代码约定的含义
如 新浪首页 源代码,广告部分
<!-- 乐居广告脚本 begin-->
[removed][removed]
<!-- 乐居广告脚本 end-->
指定一段代码编译器处理的方式
如 C 语言中的宏定义
#include "headfile"
#ifdef DEBUG
fprintf("variant=%d", variant);
#endif
告诉编辑器这段代码可以折叠
如 C# 中 #region
#region safe
if (arr.length < 2) {
【文件预览】:
cbml-master
----logo.png(15KB)
----README.md(4KB)