Skip to content

SimplyY/mobile-dev-get-started

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

移动端快速开发指南

markdown , reveal

run

$ npm i -g reveal-md
$ reveal-md index.md

build reveal

$ npm install reveal.js
$ cp -r node_modules/reveal.js/{js,css,lib,plugin} .
$ wget http://localhost:1948/index.md -O index.html

替换路径

$ cat index.html | sed \
    -e "s#'/lib/#'lib/#g" \
    -e "s#\"/lib/#\"lib/#g" \
    -e "s#\"/js/#\"js/#g" \
    -e "s#\"/css/#\"css/#g" \
    -e "s#'/plugin/#'plugin/#g" \
    -e "s#default.css#black.css#g" \
    > _index.html && mv _index.html index.html

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.6%
  • CSS 39.1%
  • HTML 12.3%