Code Monkey home page Code Monkey logo

live-down's Introduction

Live-Down

Live-Down allows you to edit a Markdown file in your preferred editor and have an in browser preview stay in sync every time you update. No more reloads, no need to use a <textarea> to compose your file, do things your way.

Live-Down uses Guard along with Guard-Markdown and Guard-Livereload in order to render the markdown and push updates to the browser.

In addition, you will need the LiveReload Chrome extension, Firefox addon, or the Safari extension.

Installation

git clone https://github.com/christoomey/live-down.git

Usage

In order to use live-down, symlink the desired markdown file into the src directory of the live-down repo, then fire up guard to render the markdown into html on save, and to push changes to the browser.

guard
# In alternate shell / tab
cd public ln -s <path_to_orig>/file.md ./

LiveReload For File Protocol

In some cases your browser may prevent live reloading of files. In this case you can either run a local file server or configure your browser / extension to allow reloading of file extensions.

If you want to go the server route and you have python installed (there by default on OS X), then it is as simple as running

python -m SimpleHTTPServer 8000

live-down's People

Contributors

christoomey avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.