昊天SEO

asciinema-player的使用

asciinema-player

asciinema-player

<html>
<head>
  <link rel="stylesheet" type="text/css" href="/asciinema-player.css" />
  <script src="/asciinema-player.js"></script>
</head>
<body>
  <div id="player-container"></div>
  <script>
    asciinema.player.js.CreatePlayer('player-container', '/asciicast-483.json', { width: 272, height: 69 });
  </script>
</body>
</html>|

下载资源去 https://github.com/asciinema/asciinema-player/releases

linux安装 https://asciinema.org/docs/installation

 

用到的css http://images.168seo.cn/uploads/2016/09/asciinema-player.css

用到的js   http://images.168seo.cn/uploads/2016/09/asciinema-player.js

本文地址官网    新乡网站建设,seo

分享到:更多 ()
a