GistDeck is a presentation layer for one of our favorite text sharing tools.
- View homepage
- Drag to Bookmarks Bar GistDeck
- Visit Gist
- Click Bookmarklet
- Present, using left and right keys
An h1 is a topic.
An h2 is a subtopic. This subtopic is followed with a paragraph. Pellentesque id lorem nunc, varius porttitor nulla. Phasellus in sapien tellus, id congue metus. Cras et vestibulum nisl. Mauris interdum tincidunt augue vitae tincidunt.
- Some people call these bullets
- In markdown and html we call them list items
- A list item can also have code
ruby -pe 'next unless $_ =~ /bullet/' < file.md
If an image is displayed after an h2, and before the supporting paragraph, it will be floated right. Nam dictum blandit faucibus. In hac habitasse platea dictumst. Fusce faucibus sagittis sapien vel posuere.
-
In Ruby you can map like this:
['a', 'b'].map { |x| x.uppercase }
-
In Rails, you can do a shortcut:
['a', 'b'].map(&:uppercase)