Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/`.