kubernetes-handbook/node_modules/gitbook-plugin-prism-themes/demo
Jimmy Song c6db5e8fef
add node modules
2021-04-13 00:24:28 +08:00
..
README.md add node modules 2021-04-13 00:24:28 +08:00
SUMMARY.md add node modules 2021-04-13 00:24:28 +08:00
book.json add node modules 2021-04-13 00:24:28 +08:00

README.md

Introduction

This is a demo book.

build

gitbook install
gitbook serve

# view http://localhost:4000

demo

demo 1: typescript

class Polygon {
  constructor(height, width) {
    this.height = height;
    this.width = width;
  }
  get area() {
    return this.height * this.width;
  }
}

demo 2: javascript

function foo(bar) {
    var a = 42,
        b = "Prism";
    return a + bar(b);
}