Giter VIP home page Giter VIP logo

howerpoint's Introduction

Howerpoint - forget about Powerpoint!!

  • ghci terminal-based slide-show presentations that you can control from the REPL and execute code on slides
  • idea (no code) stolen from REPLesent

It's only a single Haskell file!

asciicast

To run presentation create presentation as a text file. Run stack ghci and have in the in the root of the project

$ stack ghci
Howerpoint> :loadPresentation PATH-TO-PRESENTATION

Good stating poitn is test presentations

$ stack ghci
Howerpoint> :loadTestPresentation

Navigation commands

Command Description
:loadTestPresentation Load test presentation
:loadPresentation <PATH-TO-YOUR-PRESENTATION> Load your presentation
help Help
n Go to next slide
p Go to previous slide
nn i Advance i slides
pp i Go back i slides
g i Go to slide i
:rr Run code from slide
resetSize Set the slide size to current terminal size
setSize x y Set the slide size to x y
showSize Show current slide size

###ANSI colors

Escape code Result
\x Foreground color, where x is one of: black, red, green, yellow, blue, magenta, cyan, white
\X Background color, where capital X is one of the same as above
\0 Resets foreground and background colors to terminal default

###Code

All code is run in ghci so don't forget lets and :m + as imports etc.

>>> show code on a slide and also the same code will be run

>>>putStrLn . show $ double 5

L>> show code on a slide and when the code is run it prepends let

L>>double x = x + x

H>> doesn't show code on a slide but the code is run. It's useful for imports

H>>:m +Data.Char

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.