• Stars
    star
    206
  • Rank 189,387 (Top 4 %)
  • Language
    HTML
  • License
    MIT License
  • Created almost 12 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

online markdown editor/viewer

Markdown Edit

This is a online markdown editor/viewer.
This help you to edit markdown document with the power of web technology.

Screen Shot

Quick Start

Try on Demo page.
Or Install on your local PC. Check Guide to how to install.

Feature

Editor

Part of Editor is depend on CodeMirror.It enabeles

  • Display line number.
  • Match Brackets in the document.
  • Visible Tab key
  • Highlight syntax of markdown.
  • Drag and Drop file read.
  • Switchable theme.

For more option, see programming API of CodeMirror, and Hack Markdown Edit

Converter

To Convert markdown to html, Markdown-Edit Use Github's API as default.

The raw API is not JSON-based. It takes a Markdown document as plaintext text/plain or text/x-markdown and renders it as plain Markdown without a repository context (just like a README.md file is rendered – this is the simplest way to preview a readme online).

For more infomation, See official Guide

NOTICE : GitHub API v3 is limited 5000requests per hour.

Option: Use marked as conveter.

If you checked radio Use marked for conveter markdown-edit use marked and highlight.js instad of Github's API. It is faster than API call and make you enable to use this app at offline. NOTICE : marked does not support anchor.

Viewer

To display converted HTML like Github, Markdown-Edit apply github.css from highlight.js and github-style.css inspired by gollum.

<link rel="stylesheet" href="bower_components/highlightjs/styles/github.css">
<link rel="stylesheet" href="css/github-style.css">

If you want to see raw html what Github's API responsed, click Raw .html button on navbar.

Getting Started

Install On your local PC

Download Sources

use git

git clone http://github.com/georegeosddev/markdown-edit.git

Or download from Here

Download dependencies

use bower

bower install

Deploy to some web server

To avoid ajax error yous should deploy whole files to some web server.

If you are using mac,

ln -s /path/to/markdown-edit ~/Sites/markdown-edit

Then access http://localhost/~usernamehere/markdown-edit

If you have installed python,this way is very easy.

cd /path/to/markdown-edit
python -m SimpleHTTPServer 4567

Then access http://localhost:4567

NOTICE :Google Chrome upper v22.0 is most desirable browser.

usage

Read local file

Only text file is enable to read.

Save to local

This feature is not implemented yet.
So view file in Raw, and copy it to clipboard,then past it to your file by your self.

Auto Reload

If you checked Auto Reload.
Document will convert into html per 5second if it was changed.

shortcut keys

If you checked Enable Shortcut Key.
These shortcut will be enable.

  • Exec convert
    Mac : ⌘ + e Win : ctrl + e
  • Browse local file
    Mac : ⌘ + o Win : ctrl + o
  • Read local file
    Mac : ⌘ + r Win : ctrl + r
  • View Raw .md file
    Mac : ⌘ + m Win : ctrl + m
  • View Raw .html file
    Mac : ⌘ + h Win : ctrl + h
  • View html in other window
    Mac : ⌘ + alt + h Win : ctrl + alt + h

If your are using chrome,

  • Enter Full Screen Mode
    Mac : ⌘ + shift + f Win : F11

Markdown Syntax

This app is based on github-flavored-markdown
If you're not already familiar with Markdown, you should spend 15 minutes and go over the excellent Markdown Syntax Guide at Daring Fireball.

You can use markdown syntax and also pure html like this.

Sample of Table for two

ID  |Name|Rank
----|----|----
1   |Tom Preston-Werner |Awesome
2   |Albert Einstein |Nearly as awesome

become

ID Name Rank
1 Tom Preston-Werner Awesome
2 Albert Einstein Nearly as awesome

and

<table>
<tr>
<th>ID</th><th>Name</th><th>Rank</th>
</tr>
<tr>
<td>1</td><td>Tom Preston-Werner</td><td>Awesome</td>
</tr>
<tr>
<td>2</td><td>Albert Einstein</td><td>Nearly as awesome</td>
</tr>
</table>

also become

IDNameRank
1Tom Preston-WernerAwesome
2Albert EinsteinNearly as awesome

Special Thanks

Licence

Source code can be found on github, licenced under MIT.

Developed by Takeharu.Oshida

More Repositories

1

react-draggable-tab

Atom like draggable tab react component
JavaScript
144
star
2

react-fileupload-progress

React component of Input file and progress bar
JavaScript
102
star
3

slidepad

HTML Slide Generator.
CoffeeScript
27
star
4

ws-tether

websocket-based tethering
JavaScript
8
star
5

react-mousetrap-mixin

React component and mixin for mousetrap
JavaScript
7
star
6

react-magic-effects

Magical effects for react components
JavaScript
6
star
7

m101j

Homework files of M101J MongoDB for Java Developers
Python
4
star
8

ACSEmailOutputBinding

Azure Communication Service Email output binding for Azure Function
C#
2
star
9

react-dropfile-field

Textarea react component with drop file preview
JavaScript
2
star
10

Hello-World

Hello World!
1
star
11

client_boilerplate

Client-side javascript project Boilerplate.
CoffeeScript
1
star
12

ts_boilerplate

JavaScript
1
star
13

webBoard

Realtime online whiteboard app using webSocket. Working on Node-jitsu
JavaScript
1
star
14

connect-ltsv-logger

ltsv format logger for (connect|express)
JavaScript
1
star
15

m102

Homework files of M102 MongoDB for DBAs
JavaScript
1
star
16

georgeosddev.github.com

souce of my Github Pages (http://georgeosddev.github.com)
CoffeeScript
1
star
17

patternMatchify.js

Pattern matching like Scala in JavaScript
JavaScript
1
star
18

backbone-slide.js

A very simple HTML presentation tool using backbone.js
JavaScript
1
star
19

CoffeeScriptServerSample

CoffeeScriptの勉強
CoffeeScript
1
star
20

railsinstaller_demo

Rails Installer Demo
Ruby
1
star
21

xitrum-polymer-sample

Xitrum component demo with Polymer
Scala
1
star
22

jekytrum

Simple static site generator
Scala
1
star
23

booklog

BookLog like Pinterest's interface
CoffeeScript
1
star
24

george-osd-site.docpad

source of http://george-osd-site.cloudfoundry.com/
CoffeeScript
1
star
25

coderwall-badged-icon-generator

Create coderwall-badged-icon
JavaScript
1
star
26

xitrum-leochat

Chat demo of xitrum with LeoFS
Java
1
star
27

voiceShortcut

JavaScript
1
star
28

longo

Asynchronous local database with a flavor of FRP.
JavaScript
1
star
29

fluxflex-syncStopWatch

JavaScript
1
star
30

syncStopWatch

JavaScript
1
star
31

resume

TypeScript
1
star
32

dotfiles

dotfiles
Shell
1
star
33

jwt-decoder

local jwt decoder
JavaScript
1
star
34

SimpleLogger

CoffeeScriptのLogger
CoffeeScript
1
star