Skip to content

Simple tool to render and view markdown files locally

Notifications You must be signed in to change notification settings

jmcfarlane/markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown

Go Report Card

This is a tool to render markdown files locally, for use with iteration prior to pushing changes to version control.

  1. All markdown rendering occurs locally
  2. Your browser will fetch some static assets from the internet:
    1. https://cdnjs.cloudflare.com/ajax/libs/octicons/2.1.2/octicons.css
    2. https://cdnjs.cloudflare.com/ajax/libs/octicons/2.1.2/octicons.woff

Installation

$ go install github.com/jmcfarlane/markdown@latest

Usage

$ cd ~/where/your/docs/are
$ markdown

Point your browser at: http://localhost:8080. Click around, refresh the page as you make changes.

Help

$ markdown -h
Usage of markdown:
  -index string
    	Index (or default) markdown file name (default "README.md")
  -listen string
    	Interface:port to listen on (default ":8080")

Credit

This program doesn't really do much of anything. All the actual work is done by:

As well as things ^ depend upon.

Inspired by: https://github.com/joeyespo/grip

About

Simple tool to render and view markdown files locally

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages