All Projects → piotrdubiel → bs-spectacle

piotrdubiel / bs-spectacle

Licence: MIT license
No description or website provided.

Programming Languages

ocaml
1615 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to bs-spectacle

Spectacle
ReactJS based Presentation Library
Stars: ✭ 9,106 (+60606.67%)
Mutual labels:  presentation, slides, spectacle
Nodeppt
This is probably the best web presentation tool so far!
Stars: ✭ 9,589 (+63826.67%)
Mutual labels:  presentation, slides
Cppcon2015
Repository for the slides and the code of my CppCon 2015 talks.
Stars: ✭ 77 (+413.33%)
Mutual labels:  presentation, slides
Marp Core
The core of Marp converter
Stars: ✭ 224 (+1393.33%)
Mutual labels:  presentation, slides
Miniseminar
Confluence as a backend -> Express -> reveal.js as a presentation -> Profit!
Stars: ✭ 27 (+80%)
Mutual labels:  presentation, slides
Beamerpresenter
Simple dual screen pdf presentation software
Stars: ✭ 30 (+100%)
Mutual labels:  presentation, slides
Mdx Deck
♠️ React MDX-based presentation decks
Stars: ✭ 10,487 (+69813.33%)
Mutual labels:  presentation, slides
Backslide
💦 CLI tool for making HTML presentations with Remark.js using Markdown
Stars: ✭ 679 (+4426.67%)
Mutual labels:  presentation, slides
Remarker
▶️ Remark cli
Stars: ✭ 132 (+780%)
Mutual labels:  presentation, slides
Marp
The entrance repository of Markdown presentation ecosystem
Stars: ✭ 3,378 (+22420%)
Mutual labels:  presentation, slides
Kittik
Create slides in TypeScript and present them in the terminal using ASCII only!
Stars: ✭ 147 (+880%)
Mutual labels:  presentation, slides
Tslide
Terminal SlideDeck, supporting markdown.
Stars: ✭ 198 (+1220%)
Mutual labels:  presentation, slides
Kyoto Go Nihilism
A quick and dirty Golang security talk
Stars: ✭ 26 (+73.33%)
Mutual labels:  presentation, slides
Kubecon 2018
Slides from Kubecon 2018
Stars: ✭ 16 (+6.67%)
Mutual labels:  presentation, slides
Reveal Ck
Create slides with ruby (and usually in markdown)
Stars: ✭ 202 (+1246.67%)
Mutual labels:  presentation, slides
What I Have Read
Paper Lists, Notes and Slides, Focus on NLP. For summarization, please refer to https://github.com/xcfcode/Summarization-Papers
Stars: ✭ 110 (+633.33%)
Mutual labels:  presentation, slides
Marp Cli
A CLI interface for Marp and Marpit based converters
Stars: ✭ 606 (+3940%)
Mutual labels:  presentation, slides
Presenta Lib
A javascript library to build expressive web presentations in seconds.
Stars: ✭ 614 (+3993.33%)
Mutual labels:  presentation, slides
Patat
Terminal-based presentations using Pandoc
Stars: ✭ 1,725 (+11400%)
Mutual labels:  presentation, slides
Presa
🎞 Make stylish presentations in React, powered by styled-components
Stars: ✭ 169 (+1026.67%)
Mutual labels:  presentation, slides

bs-spectacle

BuckleScript bindings for Spectacle

npm (scoped) CircleCI


Example

See examples/full-spectacle. It uses almost all features of Spectacle.

examples/extras aims to showcase features not included in original Spectacle example.

open BsSpectacle;

let theme =
  Theme.(
    createTheme(
      {primary: "#26A0D1", secondary: "white", tertiary: "#505050", quarternary: "white"},
      {
        primary: {name: "Merriweather", googleFont: true, styles: [|"300"|]},
        secondary: {name: "Roboto", googleFont: true, styles: [|"100"|]},
        tertiary: simpleFont("monospace")
      }
    )
  );

let s = ReasonReact.string;

let component = ReasonReact.statelessComponent("Simple");

let make = (_children) => {
  ...component,
  render: (_self) =>
    <Deck transition=[|Zoom, Slide|] theme>
      <Slide>
        <Heading textColor="secondary" textFont="secondary"> (s("Hello, world")) </Heading>
      </Slide>
      <Slide transition=[|Slide|] bgColor="secondary">
        <BlockQuote>
          <Quote> (s({js|It’s easy, see...|js})) </Quote>
          <Cite> (s("Unknown")) </Cite>
        </BlockQuote>
      </Slide>
    </Deck>
};

Installation

Easiest way is:

  1. use create-react-app

  2. install this bindings and spectacle

     $ npm install --save bs-spectacle spectacle-scripts reason-react
     # or
     $ yarn add bs-spectacle spectacle-scripts reason-react
    
  3. add bs-spectacle to bs-dependencies in your bsconfig.json

     {
     ...
     "bs-dependencies": ["bs-spectacle"]
     }
    
  4. modify package.json scripts

     "scripts": {
         "build": "bsb -make-world && react-scripts build",
         "start": "bsb -make-world -w",
         "clean": "bsb -clean-world",
         "test": "echo \"Error: no test specified\" && exit 1"
     }
    

To run it in dev mode, run npm start in one shell and react-scripts start in another shell.

Status

Every spectacle feature is supported.

Components

  • Deck
  • Slide (Base)
  • Notes
  • Layout
  • Fit
  • Fill
  • Markdown
  • Magic
  • Appear
  • BlockQuote, Quote and Cite (Base)
  • CodePane (Base)
  • Code (Base)
  • ComponentPlayground
  • GoToAction (Base)
  • Heading (Base)
  • Image (Base)
  • Link (Base)
  • List & ListItem (Base)
  • S (Base)
  • Table, TableRow, TableBody, TableHeader, TableHeaderItem and TableItem (Base)
  • Text (Base)
  • Typeface

APIs

  • Theme
  • Transition Function
  • MarkdownSlides
  • Preloader
  • History
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].