一个doscify的插件,用于控制台指令显示。
从仓库中下载文件css/term.css与script/term.js, 然后在index.html中的head与body内分别添加以下内容
<head>
<link rel="stylesheet" href="./css/term.css">
<link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
</head><body>
<script src="./script/term.js"></script>
</body>指令与路径的分隔是靠"$ "进行区分,$之后还有一个空格。
var parts = lines[i].split('$ ');markdown语法规则:
index.html配置



