Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

peterkeen/page_viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

 
 
 

Contributors