Skip to content

Simple tool to render and view markdown files locally

Notifications You must be signed in to change notification settings

FenrirUnbound/markdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 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 get -u github.com/jmcfarlane/markdown

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

Building locally

If you happen to want to compile this locally you'd do something like:


$ go get -d github.com/jmcfarlane/markdown
$ cd $GOPATH/src/jmcfarlane/markdown
$ make get
$ make
$ ./markdown -h

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 81.6%
  • Makefile 18.4%