kubernetes-handbook/gitbook-plugin-prism-themes/demo
rootsongjc cd11aa375a deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
..
README.md deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
SUMMARY.md deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
book.json deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00: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);
}