Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added sublime text 2 instructions

  • Loading branch information...
commit 72660e482168547d561aaf6e61ec27c44e6dbaa2 1 parent fbaa6b6
@westonplatter westonplatter authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.rdoc
View
8 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
+*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}[https://github.com/asuth/subl-handler]
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.