Coder Social home page Coder Social logo

markdown_editor's Introduction

Markdown_Editor.html - An in-browser Markdown editor

This editor is based on the showdown library.

Dependencies

There is only one dependency: the showdown.js library, which you can obtain from the link above. The simplest way is to just download dist/showdown.min.js (details of where to put it below...)

Everything else is inside the HTML file, to make it dead easy to use :-)

Setting up

  1. Clone this repo or download the HTML file from it.
  2. mkdir .showdown (same command on Windows)
  3. Copy showdown-min.js into the .showdown folder
mkdir .showdown
curl -L -o .showdown/showdown.min.js https://github.com/showdownjs/showdown/raw/master/dist/showdown.min.js
# Windows users may need to download manually if curl is not available to you

Usage

  1. Double-click the Markdown_Editor.html to load it into your browser.
  2. Paste the Markdown into the type-in box at the top of the page
  3. Hit "Convert"
  4. See how your marked-down document looks in the box below the buttons.

Keyboard shortcuts.

There aren't any, but press tab to move between the type-in field and the buttons. Focus handlers put focus back onto the type-in box when the page loads and after clicking "Clear"

Bugs

  • I think there's a CSS error if you try to do in-line code elements.

markdown_editor's People

Contributors

andywis avatar

Stargazers

Jim Myhrberg avatar

Watchers

James Cloos 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.