Giter Site home page Giter Site logo

markslide's Introduction

Build your slides by markdown!

Why markslide

I'm very excited about deck.js project. But editing html directly isn't that handy. I tried zen-coding to save some time. Still, it's not intuitive enough. Then markdown came to me. So here's these two lovely things combined.

Compatible

The code is compatible with ruby 1.9/2.0.

Usage

  • fork this project as your own
  • clone your project
git clone git://github.com/fsword/markslide.git
cd markslide
git submodule update --init --recursive
bundle install
  • create your slide named index.md ( on project )
  • generate index.html
rake generate #will be generated on the project folder
  • Open it by your favourite browser

Special Usage

  • You can run this command to pkg your slide resource as .zip
rake pkg
  • If you want to modify the content continuously, you may run this command to guard the file's modification.
guard
  • Presenter view. Markslide could use two window for both presenter and audience. open index.html in your browser, it is called 'main view' press 'q' on the keyboard, then browser will open presenter view any slide change event of presenter view will be copy to main view

Markup

  • Encode: UTF-8 is the only supported encoding.
  • H1, H2 will be surrounded by section which class is slide, such as:
# First Head
## Second Head

will become

<section class="slide">
<h1>First Head</h1>
</section>
<section class="slide">
<h2>Second Head</h2>
</section>
  • Every content that begin with ':' will be set slide class, such as:
* :hello

will become

<li class="slide">hello
</li>
  • Comment can be show/hide by press 'p'. You can put '!' on the front of code section to indicate comments, such as:
`!comment`

will become

<code class="comment">comment</code>

markslide's People

Contributors

fsword avatar eric-guo avatar

Watchers

James Cloos avatar 杨小福 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.