Skip to content

nickgal/Coda-Rails-Footnotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Coda Rails Footnotes

Requirements

Setup

Install Dependencies

Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

Install Coda Cli
brew install coda-cli

Prepare Script

Open coda-uri.applescript with the AppleScript Editor
Click File >> Save As >> File Format Application
Navigate to the newly saved application in Finder.
Control click on the application and select Show Package Content

Edit Contents/Info.plist

<key>CFBundleIdentifier</key>
<string>com.apple.AppleScript.CodaURI</string>
<key>CFBundleURLTypes</key>
<array>
  <dict>
    <key>CFBundleURLName</key>
      <string>Coda URI</string>
    <key>CFBundleURLSchemes</key>
      <array>
        <string>coda-uri</string>
      </array>
  </dict>
</array>

Setup Rails

Add gem 'rails-footnotes', :group => :development to your GEMFILE if you havn’t already

Open config/initializers/footnotes.rb
Add Footnotes::Filter.prefix = 'coda-uri://open?url=%s' after Footnotes.run!

About

Making Panic's Coda work with Rails Footnotes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published