Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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 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

About

View a directory of markdown files as a series of web pages

Resources

License

Packages

No packages published
You can’t perform that action at this time.