Giter VIP home page Giter VIP logo

a-day-to-react-slides's Introduction

A DAY TO REACT SLIDES

Installation

First gloabbly install reveal-md which is markdown files to reveal.js builder.

npm install -g reveal-md

Then use command below to install plugins.

bower install

Then use the command below to launch the desired slideshow in a browser.

$ reveal-md session1.md

In development you can use --watch command for auto refresh.

$ reveal-md session1.md --watch

For further instructions you can visit reveal-md documentation.

reveal-md.json example

{
  "template": "assets/template.html",
  "theme": "assets/style/black.css",
  "css": "assets/style/slide-theme.css",
  "highlightTheme": "gruvbox-dark",
  "separator": "\n---\n",
  "verticalSeparator": "\n----\n"
}

reveal.json example

{
  "controls": true,
  "controlsTutorial": true,
  "controlsLayout": "bottom-right",
  "controlsBackArrows": "faded",
  "progress": true,
  "slideNumber": false,
  "history": true,
  "keyboard": true,
  "overview": true,
  "center": true,
  "touch": true,
  "loop": false,
  "rtl": false,
  "shuffle": false,
  "fragments": true,
  "fragmentInURL": false,
  "embedded": false,
  "help": true,
  "showNotes": false,
  "autoPlayMedia": null,
  "autoSlide": 0,
  "autoSlideStoppable": true,
  "autoSlideMethod": "Reveal.navigateNext",
  "defaultTiming": 120,
  "mouseWheel": false,
  "hideAddressBar": true,
  "previewLinks": false,
  "viewDistance": 3,
  "parallaxBackgroundHorizontal": null,
  "parallaxBackgroundVertical": null,
  "display": "block",
  "transition": "slide"
}

Custom Slide Attributes

<!-- .slide: data-background="#be1d2c" -->

# Slide Background Color

---

<!-- .slide: data-background-image="https://facebook.github.io/create-react-app/img/logo-og.png" data-background-size="100px" data-background-repeat="repeat" -->

## Slide Image Background

---

# Inline Styling <!-- .element: style="text-align: left" -->

---

### Fragments

    Highlight Red <!-- .element: class="fragment highlight-red" -->

    Highlight Blue <!-- .element: class="fragment highlight-blue" -->

    Highlight Green <!-- .element: class="fragment highlight-green" -->

    - Growing List Item <!-- .element: class="fragment grow" -->
    - Shrinking List Item <!-- .element: class="fragment shrink" -->
    - Fading Out List Item <!-- .element: class="fragment fade-out" -->
    - Fading In List Item <!-- .element: class="fragment fade-in" -->

---

# You can give a class to element <!-- .element: class="a-class" -->
# You can give an id to element <!-- .element: id="importantElement" -->

Markdown Example

See Github Mastering Markdown guide for advanced usage.

# First Slide Title

* List item 1
* List item 2

---

## Second Slide

> Best quote ever.

Note: speaker notes FTW!

---

## Third slide with code example

```js
// Basic console prompt
console.log('Hello World');
```

---

## Fourth slide with image

Welcome to VNGRS

![VNGRS Dev](https://vngrs.com/assets/images/vngrs-dev-544x311.png)

YAML Front matter

---
title: Foobar
separator: <!--s-->
verticalSeparator: <!--v-->
theme: solarized
revealOptions:
    transition: 'fade'
---
Foo

Note: test note

<!--s-->

# Bar

<!--v-->

a-day-to-react-slides's People

Contributors

hazarartuner avatar

Watchers

 avatar Burak Kırkıl 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.