0.0.36 • Published 5 years ago
@amazingandyyy/next-deck v0.0.36
Features
- zero configuration, inspired by zeit/next.js
- blazing fast (less than 0.3s)
- easy to create
- package size only 5.4 kB
Installation
it's on npm
$ npm i -g @amazingandyyy/next-deck@latest
Usage
Create markdown under /decks
$ mkir decks
$ touch decks/wafflejs_speech_0904.md
Tips: add ------
(6 dashes) to seperate different pages, and other thing will be just markdown
Export to /docs
$ npm i -g @amazingandyyy/next-deck
$ deck --help
$ deck export
...
$ tree docs
docs/
├── deck
└── wafflejs_speech_0904
├── 1
├── 2
├── index.html
└── nextdeck
├── basic.css
└── nextdeck.js
...
$ npm i -g serve
$ serve ./docs
# http://localhost:5000/deck/wafflejs_speech_0904/ is on
then you push to github and turn on Github Pages, supporting serving files from /docs
folder, and the presentation is sharable :) see demo
Support multiple markdowns under /decks
$ tree decks
decks
└── sf_node_08_01.md
└── wafflejs_speech_08_07.md
└── twilio_conference_08_07.md
$ deck export
# ... compiling in less than a second
$ tree docs
docs/
├── deck
│ ├── sf_node_08_01
│ │ ├── 1
│ │ ├── 2
│ │ ├── 3
│ │ ├── 4
│ │ ├── index.html
│ │ └── nextdeck
│ │ ├── basic.css
│ │ └── nextdeck.js
│ ├── wafflejs_speech_08_07
│ │ ├── 1
│ │ ├── 2
│ │ ├── index.html
│ │ └── nextdeck
│ │ ├── basic.css
│ │ └── nextdeck.js
│ └── twilio_conference_08_07
...
# done!
To do
- add more themes
- add more page designs
- add
deck init
- add
deck start
- add new demo deck
- more configurable, add
--output
or--src
or--theme
flags, right now the default is equivalent
$ deck export --src ./decks --output ./docs --theme basic
- guideline of creating sharable themes
- launch on product hunt
Resource
this project is generated from amazingandyyy/modern-js-project
License
Suggestions
0.0.36
5 years ago
0.0.35
5 years ago
0.0.34
5 years ago
0.0.33
5 years ago
0.0.32
5 years ago
0.0.31
5 years ago
0.0.30
5 years ago
0.0.29
5 years ago
0.0.28
5 years ago
0.0.27
5 years ago
0.0.26
5 years ago
0.0.25
5 years ago
0.0.24
5 years ago
0.0.23
5 years ago
0.0.22
5 years ago
0.0.21
5 years ago
0.0.20
5 years ago
0.0.19
5 years ago
0.0.18
5 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago