Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gjtorikian/link-rewriter-filter
A filter to rewrite links so that files can be viewable on GitHub and a static server
https://github.com/gjtorikian/link-rewriter-filter
Last synced: about 1 month ago
JSON representation
A filter to rewrite links so that files can be viewable on GitHub and a static server
- Host: GitHub
- URL: https://github.com/gjtorikian/link-rewriter-filter
- Owner: gjtorikian
- License: mit
- Created: 2015-05-08T20:32:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-03-01T16:30:26.000Z (over 4 years ago)
- Last Synced: 2024-09-27T11:34:33.908Z (about 2 months ago)
- Language: Ruby
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# LinkRewriterFilter
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'link-rewriter-filter'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install link-rewriter-filter
## Usage
Place this filter after your markdown filter.
You can use the `link_rewriter_prefix` context key to define a new prefix. Otherwise, the default is `/docs/`.