0.0.36 • Published 7 years ago

@amazingandyyy/next-deck v0.0.36

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

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

MIT

Suggestions

  • PR is highly welcome
  • feel free to open issues as many as possible, it doesn't need to be in details, just general idea is good enough.
0.0.36

7 years ago

0.0.35

7 years ago

0.0.34

7 years ago

0.0.33

7 years ago

0.0.32

7 years ago

0.0.31

7 years ago

0.0.30

7 years ago

0.0.29

7 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago