mirror of
https://github.com/maaslalani/slides.git
synced 2026-04-23 03:00:33 -04:00
703 B
703 B
Code blocks
Slides allows you to execute code blocks directly inside your slides!
Just press ctrl+e and the result of the code block will be displayed as virtual
text in your slides.
Currently supported languages:
bashelixirgojavascriptpythonrubyperl
Bash
ls
Elixir
IO.puts "Hello, world!"
Go
package main
import "fmt"
func main() {
fmt.Println("Hello, world!")
}
Javascript
console.log("Hello, world!")
Python
print("Hello, world!")
Ruby
puts "Hello, world!"
Perl
print ("hello, world");