getify / You-Dont-Know-JS

A book series on JavaScript. @YDKJS on twitter.
Other
178.87k stars 33.44k forks source link

New features: Add gitbook feature( Read IT with gitbook ) #1589

Closed magicianlib closed 4 years ago

magicianlib commented 4 years ago

Note

We didn't make any changes, Just a few more files (related to gitbook).

In order to be able to read it like a book, easier to read.

Now the reader just needs to clone the repository for download, and simply run a command in the repository to open the book in the browser. There is a catalog with instructions, and you can also customize the gitbook plug-in, customized exquisite books.

I think everyone needs better reading habits.

Change

Add Some file:

Sample

Read the cover(open it in a browser(localhost:4000)):

1

2

3

4

getify commented 4 years ago

I'm not sure if I'm going to support gitbook or not, but I am definitely not going to do so while the books are still in progress. I will revisit the topic after they're complete.