Sha256: 9c477e07514d6c858d0a3e26c68d00c1addfce2c0c7c49c5201b788474dcd921

Contents?: true

Size: 672 Bytes

Versions: 2

Compression:

Stored size: 672 Bytes

Contents

# Page Viewer

This is a dumb little app for dynamically rendering a directory full of markdown files on a website. It has the following additional features:

* `_index.md` will be displayed as the index document if it exists. Otherwise a simple directory listing is displayed.
* Integrates with [Docverter](http://www.docverter.com) for on-the-fly PDF conversion
* Code blocks will get syntax highlighted using Pygments

## Installation

```
gem 'page_viewer', git: 'https://github.com/peterkeen/page_viewer'
```

## Usage

Here's an example `config.ru` file:

```
require 'page_viewer'

PageViewer::App.set :page_root, '/path/to/markdown_files'

run PageViewer::App
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
page_viewer-0.0.5 README.md
page_viewer-0.0.1 README.md