Git Product home page Git Product logo

crystal-presents's Introduction

Creative Commons License

Crystal Presentations

This is a crystal playground that uses Reveal.js to build awesome presentations capable of running crystal code.

The slides are splitted across multiple files.

Writing slides

Fork/clone and write your own slides in ./slides. Use the normal git branching so you can update the slide engine in the future. This will also promote sharing the slides (if you wish).

Create .html and .md files for each slide in ./slides folder. Slides will appear in alphabetical order.

Numbering them as:

  1. 010-
  2. 020-

will allow you to easy put slides in between ;-). Use ./bin/add [Slide title] to create this files automatically.

In a .md file you can use ````playground` to include a interactive playground snippet.

Compile slides

$ ./bin/build-slides
$ crystal play

Open http://localhost:8080/workbook/playground/slides.

Live reload

Start a crystal playground in a terminal and run ./bin/watch. It will look for changes in ./slides compile them and reload the current chrome tab.

$ crystal play
$ ./bin/watch

./bin/watch Requirements

PDF Export

Compile the slides with ./bin/build-slides --no-playground. This will embed the playground snippets as plain source code, better for printing.

Open http://localhost:8080/workbook/playground/slides?print-pdf. Read more in Reveal.js - PDF Export section.

crystal-presents's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.