如何在Github Pages上播放幻燈片
公眾號請關注ElseF,ElseF(Else Figure),是一個專注於「分享」國內外高質量的科技類文章和新聞的自媒體。維護者主要來自國內外大型網際網路公司和創業公司,主要專注於與網際網路相關的精彩內容。

微信公眾號
It's cool to have your keynote display in your blog, Github Pages has the ability to make this
happen integrated with reveal.js.
Follow steps bellow and you can enjoy your slides on your blog too, just like
me
.
Build from Scratch
$ git clone https://github.com/hakimel/reveal.js.git $ cd reveal.js $ rm -rf .git $ git init $ git remote add origin [email protected]:yourname/repo-name.git $ git add . $ git commit -m "Initial commit" $ git push -u origin master
Creating Branch
$ git branch gh-pages $ git push origin gh-pages
All the updated files must be merged from master to gh-pages(the name can not be changed)
The url is built from the following pattern:
[github_username].github.io/[repo_name]
Reference
- ofollow,noindex">https://www.tikalk.com/posts/2013/11/05/deploy-reveal-js-slideshow-on-github-pages/
- https://www.chenhuijing.com/blog/revealjs-and-github-pages/
- https://www.youtube.com/watch?v=DUXD2q0meSw&feature=youtu.be
本文首次釋出於 Elsef's Blog , 作者 @stuartlau ,轉載請保留原文連結.