Installing the gem:
gem install computering
create a presentation file
echo "
headline 'computering'
paragraph 'is super easy'
command 'echo to use'
link 'see yourself', 'https://github.com/phoet/computering#usage'
" > preso.rb
and run it with the computering
command:
computering preso.rb
Please have a look at the dsl.rb file and the examples folder for how to use the DSL.
Supported commands are:
- headline (underlined text output)
- paragraph (simple text output)
- link (opens a page via
open
) - command (runs a shell command and captures the output)
- code (syntaxhighlights ruby code)
- spec (runs inline minitest-spec)
- syntax-check
- dry-mode
- config speed
"THE (extended) BEER-WARE LICENSE" (Revision 42.0815): phoet contributed to this project.
As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me some beers in return.