Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added README for available snippets/commands

  • Loading branch information...
commit f140dc967e39c639701a14d06f5363b229b68150 1 parent 392e169
@drnic authored
View
2  Commands/Slide from header.tmCommand
@@ -29,7 +29,7 @@ SNIPPET
<key>keyEquivalent</key>
<string>$
</string>
- <key>name</key>
+ <key>name</key>
<string>New Slide from header</string>
<key>output</key>
<string>insertAsSnippet</string>
View
45 README.md
@@ -1,17 +1,52 @@
-Showoff TextMate bundle
---------------------
+# Showoff TextMate bundle #
The TextMate bundle to create and preview Showoff presentation files.
-Installation
-============
+## Installation ##
To install via Git:
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
- git clone git://github.com/drnic/Showoff.tmbundle.git "Showoff.tmbundle"
+ git clone git://github.com/drnic/Showoff.tmbundle.git
osascript -e 'tell app "TextMate" to reload bundles'
Source can be viewed or forked via GitHub: [http://github.com/drnic/Showoff.tmbundle](http://github.com/drnic/Showoff.tmbundle)
+## Commands ##
+
+**New Slide** - `slide` tab completion
+
+ !SLIDE bullets
+ # Title #
+
+After activating, to get different slide types:
+
+* `b` - bullets
+* `c` - commandline
+* `co` - code
+* `ce` - center
+* `f` - full-page
+* `s` - smbullets
+
+**New Slide from Header** - `Shift+Enter` key binding
+
+This works the same as **New Slide**, except it will consume the selected text or current word near the carat and put it in the new slide's header.
+
+From:
+
+ This is my slide title
+
+To:
+
+ !SLIDE bullets
+ # This is my slide title #
+
+Like **New Slide** you can change the slide type with its initial letters.
+
+**Preview Slides** - `Cmd+R` key binding
+
+Want to see what the current document's slides will look like? "Run" them.
+
+After running the first time, maximise the TextMate HTML window to see your slides in largest window.
+
View
2  Snippets/Slide.tmSnippet
@@ -7,7 +7,7 @@
# $0
</string>
<key>name</key>
- <string>Slide</string>
+ <string>New Slide</string>
<key>scope</key>
<string>text.html.markdown.showoff</string>
<key>tabTrigger</key>
Please sign in to comment.
Something went wrong with that request. Please try again.