Browse files

added sublime text 2 instructions

  • Loading branch information...
1 parent fbaa6b6 commit 72660e482168547d561aaf6e61ec27c44e6dbaa2 @westonplatter westonplatter committed Aug 26, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.rdoc
@@ -61,7 +61,7 @@ this code temporarily disables notes for all controllers
If you are not using Textmate as text editor, MacVim and Sublime Text 2 are also compatible.
-==== MacVim
In your environment.rb or in an initializer do:
@@ -74,9 +74,9 @@ the second %d is replaced by the column.
Take note that the order in which the file name (%s), line number (%d) and column number (%d) appears is important.
We assume that they appear in that order. "foo://line=%d&file=%s" (%d precedes %s) would throw out an error.
-==== Sublime Text 2
+*Sublime* *Text* *2*
-1. Keep the original initializer, ````Footnotes::Filter.prefix = 'txmt://open?url=file://%s&line=%d&column=%d'````
+1. Keep the Textmate prefix, Footnotes::Filter.prefix = 'txmt://open?url=file://%s&line=%d&column=%d'
2. Install {subl-hanlder}[]
@@ -87,7 +87,7 @@ We assume that they appear in that order. "foo://line=%d&file=%s" (%d precedes %
5. Go to RCDefaultApp (OS System Preferences > DefaultApps). Go to URL section, select "tmxt" extension, and set default applicaiton to "SublHandler".
-==== Footnotes Display Options
+*Footnotes* *Display* *Options*
By default, footnotes are appended at the end of the page with default stylesheet. If you want
to change their position, you can define a div with id "footnotes_holder" or define your own stylesheet

0 comments on commit 72660e4

Please sign in to comment.