Giter Club home page Giter Club logo

个人笔记

图片拼接地址:https://raw.githubusercontent.com/loveagri/note/master/ud-img/

代码拼接地址:https://raw.githubusercontent.com/loveagri/note/master/ud-code/

文件拼接地址:https://raw.githubusercontent.com/loveagri/note/master/ud-file/

前置准备

  1. 安装gitbook:
~$ npm install gitbook-cli -g
... 安装成功

# 直接执行命令,可正常使用。
~$ CLI version: 2.3.2
   GitBook version: 3.2.3
  1. 为Gitbook创造软连接
ln -s /usr/local/Cellar/node/11.6.0/lib/node_modules/gitbook-cli/bin/gitbook.js /usr/local/bin/gitbook

or

echo alisa 'gitbook="/usr/local/Cellar/node/11.6.0/lib/node_modules/gitbook-cli/bin/gitbook.js"' >> ~/.bash_profile
source ~/.bash_profile
  1. 编辑好文件后执行编译和上传
npm start
  1. 添加视频
{% raw %}
<video id="my-video" class="video-js" controls preload="auto" width="100%"
poster="https://zhangjikai.com/resource/poster.jpg" data-setup='{"aspectRatio":"16:9"}'>
  <source src="https://zhangjikai.com/resource/demo.mp4" type='video/mp4' >
  <p class="vjs-no-js">
    To view this video please enable JavaScript, and consider upgrading to a web browser that
    <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
  </p>
</video>
{% endraw %}

更多关于Gitbook

插件文档

Loveagri's Projects

javascript-algorithms icon javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

mern icon mern

A simple MERN Stack App made for practice & learning. CRUD, Authentication & Deployment in MERN.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.