Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tony-hair/docsify-terminal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

作用

一个doscify的插件,用于控制台指令显示。

效果

普通

simple

使用

从仓库中下载文件css/term.cssscript/term.js, 然后在index.html中的headbody内分别添加以下内容

<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语法规则:

markdown

index.html配置

index

About

docsify终端样式显示

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 78.2%
  • CSS 21.8%