-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathpackage.json
132 lines (132 loc) · 3.87 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "medium-editor-markdown",
"version": "3.2.3",
"description": "A Medium Editor extension to add markdown support.",
"main": "src/medium-editor-md.js",
"directories": {
"example": "example"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Ionică Bizău <[email protected]> (https://ionicabizau.net)",
"contributors": [
"Nate Mielnik <[email protected]>",
"@prevuelta (http://www.pablorevuelta.com/)",
"okmttdhr (http://okmttdhr.github.io/)",
"Anna Yafi (https://github.com/annayafi/)",
"Sunil Hari (https://github.com/sunilhari/)"
],
"license": "MIT",
"dependencies": {
"turndown": "^6.0.0"
},
"devDependencies": {
"barbe": "^3.0.6",
"uglify-js": "^3.8.1"
},
"repository": {
"type": "git",
"url": "https://github.com/IonicaBizau/medium-editor-markdown.git"
},
"bugs": {
"url": "https://github.com/IonicaBizau/medium-editor-markdown/issues"
},
"homepage": "https://github.com/IonicaBizau/medium-editor-markdown",
"keywords": [
"medium",
"editor",
"markdown"
],
"blah": {
"h_img": "http://i.imgur.com/xb6JPkv.png",
"title": "Medium Editor Markdown",
"description": "[Click here](https://github.com/daviferreira/medium-editor) to see the Medium Editor project.",
"show_installation": false,
"installation": [
{
"h2": "Usage"
},
{
"p": "The available scripts are:"
},
{
"ul": [
"me-markdown.no-deps.js",
"me-markdown.no-deps.min.js",
"me-markdown.standalone.js",
"me-markdown.standalone.min.js"
]
},
{
"p": [
"The `*.standalone.*` scripts contain all the dependencies included there.",
"The `*.no-deps.*` scripts contain only the extension code. You will have to include manually [`turndown.js`](https://github.com/domchristie/turndown) on the page, before including the markdown extension.",
"The `*.min.*` scripts are minified."
]
},
{
"h2": "Demo"
},
{
"p": [
"[Click here](http://ionicabizau.github.io/medium-editor-markdown) for a live demo.",
"[![Medium Editor Markdown](http://i.imgur.com/t1taWY0.jpg)](http://ionicabizau.github.io/medium-editor-markdown)"
]
},
{
"h2": "Example"
},
{
"code": {
"language": "html",
"content": [
"<div class=\"editor\"></div>",
"<pre class=\"markdown\"></pre>",
"<script src=\"path/to/medium-editor.js\"></script>",
"<script src=\"path/to/me-markdown.standalone.min.js\"></script>",
"<script>",
" (function () {",
" var markDownEl = document.querySelector(\".markdown\");",
" new MediumEditor(document.querySelector(\".editor\"), {",
" extensions: {",
" markdown: new MeMarkdown(function (md) {",
" markDownEl.textContent = md;",
" })",
" }",
" });",
" })();",
"</script>"
]
}
},
{
"h2": "Building"
},
{
"p": "To rebuild the dist files, run `./build`."
}
],
"thanks": {
"ul": [
"[**@daviferreira**](https://github.com/daviferreira/) who created the [Medium Editor library](https://github.com/daviferreira/medium-editor).",
"[**@domchristie**](https://github.com/domchristie/) for creating [turndown](https://github.com/domchristie/turndown)."
]
}
},
"files": [
"bin/",
"app/",
"lib/",
"dist/",
"src/",
"scripts/",
"resources/",
"menu/",
"cli.js",
"index.js",
"bloggify.js",
"bloggify.json",
"bloggify/"
]
}