Skip to content

Commit 17db11d

Browse files
authored
Merge pull request ksky521#135 from ksky521/master
xiguan
2 parents 1c86235 + a8cf089 commit 17db11d

File tree

218 files changed

+8365
-12700
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+8365
-12700
lines changed

README.md

+153-365
Large diffs are not rendered by default.

README_EN.md

+9-43
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ nodePPT - This is probably the best web presentation tool so far!
44

55
[![NPM](https://nodei.co/npm-dl/nodeppt.png)](https://nodei.co/npm/nodeppt/)
66
[![NPM](https://nodei.co/npm/nodeppt.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/nodeppt/)
7+
[![Inline docs](http://inch-ci.org/github/ksky521/nodePPT.svg?branch=master)](http://inch-ci.org/github/ksky521/nodePPT)
78

89
## why nodePPT?
910

@@ -16,9 +17,10 @@ nodePPT - This is probably the best web presentation tool so far!
1617
* canvas is also supported, with socket, we **sync your multiscreen in real time**, and you can type some notes;
1718
* syntax highlighting of course, and you may want to customize your [syntax highlighting style](https://highlightjs.org/), it's supported well;
1819
* Animation in single page, one-step animation;
20+
* themes:[colors](http://qdemo.sinaapp.com/)-[moon](http://qdemo.sinaapp.com/?theme=moon)-[blue](http://qdemo.sinaapp.com/?theme=blue)-[dark](http://qdemo.sinaapp.com/?theme=dark)-[green](http://qdemo.sinaapp.com/?theme=green)-[light](http://qdemo.sinaapp.com/?theme=light)
1921
* [forward and backward callback function](#callback)
2022

21-
## 1.0.0 new features
23+
## 1.2.0 new features
2224
* real time sync canvas drawing across multiple devices
2325
* watch
2426
* add buttons to control page-flipping
@@ -67,18 +69,18 @@ nodeppt start -p 8080 -d path/for/ppts -H 127.0.0.1
6769

6870
#### how to start socket?
6971

70-
##### use 'start' command:
72+
##### with url params
7173

7274
```bash
73-
nodeppt start -c socket
75+
http://127.0.0.1:8080/md/demo.md?controller=socket
7476
```
7577

7678
type 'Q' in page to show the QR Code, scan it, and you can control the slider on your phone: swipe or touch or shake to page-flipping
7779

78-
##### or with url params
80+
##### or use 'start' command:
7981

8082
```bash
81-
http://127.0.0.1:8080/md/demo.md?controller=socket
83+
nodeppt start -c socket
8284
```
8385

8486
type 'Q' in page to show the QR Code, scan it, and you can control the slider on your phone: swipe or touch or shake to page-flipping
@@ -179,7 +181,7 @@ if you want set single page animation, go to **[single page animation setting](#
179181
----
180182
nodeppt is a ppt webapp coded by nodejs
181183
nodeppt: https://github.com/ksky521/nodePPT
182-
184+
```
183185
#### code formatting
184186
the same as **Github Flavored Markdown**
185187

@@ -201,7 +203,6 @@ For example:
201203
<p>this is html</p>
202204
</div>
203205
<p id="css-demo">css style</p>
204-
<p>for more details, visit ppts/demo.md</p>
205206
<script>
206207
function testScriptTag(){
207208
@@ -233,7 +234,7 @@ suck like this:
233234
:-------|:------:|-------:|--------
234235
environment |js/nodejs | Ruby | nodejs
235236
.ext | .less | .sass/.scss | .styl
236-
237+
```
237238

238239
#### insert iframe
239240
use ```data-src``` as the url of the iframe, the iframe will not load the content untill the page be displayed.
@@ -243,41 +244,6 @@ use ```data-src``` as the url of the iframe, the iframe will not load the conten
243244

244245
#### example
245246
for more go to ppts/demo.md
246-
```markdown
247-
title: nodeppt markdown presentation
248-
speaker: Theo Wang
249-
url: https://github.com/ksky521/nodePPT
250-
transition: zoomin
251-
252-
[slide]
253-
254-
# cover style
255-
## h1 for cover, h2 for others
256-
257-
[slide style="background-image:url('/img/bg1.png')"]
258-
259-
# background iamge {:&.flexbox.vleft}
260-
## &#91;slide style="background-image:url('/img/bg1.png')"&#93;
261-
262-
[slide]
263-
264-
## home page style
265-
### ---- boundary
266-
----
267-
268-
nodeppt is a ppt webapp coded by nodejs
269-
270-
nodeppt: https://github.com/ksky521/nodePPT
271-
272-
273-
[slide]
274-
275-
what? want more features?
276-
277-
geek mode: check the source code, find nodeppt.js, and you'll find the awesome "shake to page-flipping".
278-
279-
check the project directory for more infomation
280-
```
281247

282248
To see more demo, check the ```ppts``` folder
283249

assets/css/animation.css

-1
This file was deleted.

assets/css/nodeppt.css

100755100644
+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/pdf.css

100755100644
+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/phone.css

100755100644
File mode changed.

0 commit comments

Comments
 (0)