jamiebuilds/spectacle-code-slide
jamiebuilds/spectacle-code-slide has 4,125 GitHub stars and 163 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-08 15:33 UTC. Last push 2018-11-16.
:metal: Present code with style
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalspectacle-code-slide
Present code with style using spectacle.

Dude, you just changed the code presentation game – @kenwheeler
Install
$ npm install --save spectacle
$ npm install --save spectacle-code-slide
Usage
import React from 'react';
import { Spectacle, Deck } from 'spectacle';
import CodeSlide from 'spectacle-code-slide';
import shiaLabeoufMagicGif from "./shiaLabeoufMagic.gif"
import preloader from "spectacle/lib/utils/preloader";
preloader({
shiaLabeoufMagicGif
});
export default class Presentation extends React.Component {
render() {
return (
<Spectacle theme={theme}>
<Deck transition={[]} transitionDuration={0} progress="bar">
// ...
<CodeSlide
transition={[]}
lang="js"
code={require("raw-loader!../assets/code.example")}
ranges={[
{ loc: [0, 270], title: "Walking through some code" },
{ loc: [0, 1], title: "The Beginning" },
{ loc: [1, 2] },
{ loc: [1, 2], note: "Heres a note!" },
{ loc: [2, 3] },
{ loc: [4, 7], image: shiaLabeoufMagicGif },
{ loc: [8, 10] },
// ...
]}/>
// ...
</Deck>
</Spectacle>
);
}
}
Syntax Highlighting
Provided by PrismJS. See http://prismjs.com/ for docs.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,102 starspublic-apis/public-apis
A collective list of free APIs
497,339 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
443,995 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,214 stars