Skip to content
This repository was archived by the owner on Apr 8, 2019. It is now read-only.
/ doc-viewer Public archive

view and edit your local markdown documentations in browser. full text search as well

License

Notifications You must be signed in to change notification settings

at15/doc-viewer

Repository files navigation

doc-viewer

Build Status

logo

View markdown documentations locally in browser

Usage

  • npm install -g doc-viewer
  • run doc-viewer in the folder where you have your doc, it will start a server.
  • localhost:3000/fileName.md to view rendered markdown
  • it also works like the simple http server in python.

You can update current version using npm update -g doc-viewer

Features

  • TOC (table of content) support
  • Show folder and files in sidebar
  • gfm (support task list ) -> use marked
  • code highlight -> use highlightjs

Screen shot

screen

Develop

  • npm install NOTE: you have to run as admin in windows in order to install node-sass
  • gulp dev to start server and enable watch, the express server will reload when file change, but you have to hit f5 to refresh the client.

RoadMap

  • simple render
  • a global command line. npm install -g doc-viewer, then you can use it like python's simple server
  • make links in markdown work.
  • toc support
  • support task list #17
  • allow combine options, toc, highlight etc.
  • parse all markdown file and generate html and search.

About

view and edit your local markdown documentations in browser. full text search as well

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published