Skip to content

prashtx/markdown-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown Preview

This is a basic tool for previewing Github-flavored markdown.

Motivation

I somehow always end up authoring Markdown files when I have no internet connectivity. I wanted a tool that I could use to easily preview text while on an airplane.

Architecture

The tool consists of a server that serves up static files and converts Markdown text posted to the /api/render endpoint. The HTML and Javascript just look for pauses in user input and send the text to the server for conversion. The server uses robotskirt node module, so that we can render language-specific code blocks and whatnot.

The idea is to run this locally when necessary.

TODO

  • Change css to match Github's Markdown display
  • Add javascript/css for syntax highlighting in code blocks
  • Improve layout

About

Basic node server for previewing Github-flavored markdown without internet access. #github #javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published