Trickster
The developer's presentation software
(Use cursor keys to navigate)
Trickster sizes your content to the screen
Rewarding you for brevity
And punishing you, and your audience, for slides that have entirely too much text on them, which we all know everyone hates and you should just stop doing right now. Please!
Write your presentation in text
# slides
!TITLE
The title of a slide
!SECTION
A section
!BULLETS
A Bullet List
* has many entries
* and is totally useful
Bullet Lists
- Have a title
- And have bullets
- Which are revealed one at a time
!BULLETS
Bullet Lists
* Have a title
* And have bullets
* Which are revealed one at a time
Code Slides
- Are syntax highlighted
- Can contain your code inline
- Or reference a file via
file:///path/to/file
!CODE: language=ruby
class YourCode
def initialize(will)
@be_highlighted
end
end
class YourCode
def initialize(will)
@be_highlighted
end
end
Callouts
- You can callout certain lines
- You can also strike-through certain lines
!CODE: language=ruby callout=3,-4,5
class YourCode
def initialize(will)
@be_highlighted
end
end
class YourCode
def initialize(will)
@be_highlighted
end
end
Many languages
- Just use the
language=LANG
option
- And you get all of highlight.js's languages
!CODE: language=scala
object Highlight {
def languageSupported(lang:String):Boolean = {
return HighlighJS.supports(lang)
}
}
object Highlight {
def languageSupported(lang:String):Boolean = {
return HighlighJS.supports(lang)
}
}
Command Lines
- You can show command-line invocation
- Use the
!COMMANDLINE
tag
- And a line with a prompt
- Followed by the command's output
!COMMANDLINE
> gem install trickster
Fetching: gli-2.0.0.gem (100%)
Successfully installed gli-2.0.0
Successfully installed trickster-0.0.4
2 gems installed
Installing ri documentation for gli-2.0.0...
Installing ri documentation for trickster-0.0.4...
Installing RDoc documentation for gli-2.0.0...
Installing RDoc documentation for trickster-0.0.4...
> trickster help
NAME
trickster - Bootstrap, generate, and manage your trickster presentation
SYNOPSIS
trickster [global options] command [command options] [arguments...]
VERSION
0.0.5
GLOBAL OPTIONS
--help - Show this message
--version -
COMMANDS
build - Generate the presentation from your slides
help - Shows a list of commands or help for one command
init - Create a new trickster presentation
update - Update your slideshow with files provided by trickster
> gem install trickster
Fetching: gli-2.0.0.gem (100%)
Successfully installed gli-2.0.0
Successfully installed trickster-0.0.4
2 gems installed
Installing ri documentation for gli-2.0.0...
Installing ri documentation for trickster-0.0.4...
Installing RDoc documentation for gli-2.0.0...
Installing RDoc documentation for trickster-0.0.4...
> trickster help
NAME
trickster - Bootstrap, generate, and manage your trickster presentation
SYNOPSIS
trickster [global options] command [command options] [arguments...]
VERSION
0.0.5
GLOBAL OPTIONS
--help - Show this message
--version -
COMMANDS
build - Generate the presentation from your slides
help - Shows a list of commands or help for one command
init - Create a new trickster presentation
update - Update your slideshow with files provided by trickster
Other Slide types
- Use any tag you want, e.g. TITLE, SECTION
- Customize it in CSS
Yup, just edit styles.css
to tweak things how you want
OR, name it styles.scss
to get SASS Support!
> gem install trickster
> trickster init my-new-presentation
> cd my-new-presentation
> vim slides # or whatever you want to use
> trickster build
Now open up index.html and play your presentation