jack-zh / zmade

Simplification Web MarkDownEditor.

Home Page:http://jack-zh.github.io/zmade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is zMarkDown Editor

1. This is:

  • Power by markdown-editor
  • Simplification
  • Ctrl + S will post the code to url which you set in header
  • Ctrl + B show all attachments
  • Ctrl + Delete clear localStorage
  • Between @@@ is set message
    • url: post url
    • other: argument set

2. Argument example:

@@@
 
@author:jack.zh

@title:Readme title

@target:markdown

@floder:editor

@url:http://example.com/newblog

@publish:true

@@@

The post code whill be(use JSONP and callback=jsonpcallback):

$.ajax({
  url: "http://example.com/newblog",
  dataType: 'jsonp',
  jsonp: "jsonpcallback",
  data: data,
  async: false
});

data:

{
  author: "jack.zh", 
  title: "Readme title", 
  target: "markdown", 
  floder:"editor", 
  publish: "true",
  makedown_str: "...", // without @@@ plus
  code: "..." // all edit code
}

3. Show-how

1. edit markdown

edit markdown

2. set url and started server

edit markdown

3. Save show(keycode: Ctrl + S)

edit markdown

4. Markdown Example:

code style:

package main

import "fmt"

func main() {
    fmt.Println("Hello, 世界")
}

table:

Item Value Qty
Computer 1600 USD 5
Phone 12 USD 12
Pipe 1 USD 234

Enjoy it!

About

Simplification Web MarkDownEditor.

http://jack-zh.github.io/zmade


Languages

Language:JavaScript 88.9%Language:CSS 9.3%Language:HTML 1.3%Language:Python 0.5%