Skip to content

Commit 5b8a55f

Browse files
upload project
1 parent 9d46c44 commit 5b8a55f

File tree

583 files changed

+121177
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

583 files changed

+121177
-0
lines changed

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
12+
# misc
13+
.DS_Store
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*

package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "markdown-editor",
3+
"version": "0.1.0",
4+
"private": true,
5+
"homepage": "http://about.phamvanlam.com/markdown-editor/",
6+
"dependencies": {
7+
"react": "^16.4.2",
8+
"react-dom": "^16.4.2",
9+
"react-scripts": "1.1.4"
10+
},
11+
"scripts": {
12+
"predeploy": "npm run build",
13+
"deploy": "gh-pages -d build",
14+
"start": "react-scripts start",
15+
"build": "react-scripts build",
16+
"test": "react-scripts test --env=jsdom",
17+
"eject": "react-scripts eject"
18+
},
19+
"devDependencies": {
20+
"gh-pages": "^1.2.0"
21+
}
22+
}

public/favicon.ico

12.5 KB
Binary file not shown.

public/index.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<meta name="theme-color" content="#000000">
8+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
9+
<meta name="description" content="A very simple but useful Markdown Previewer and Markdown Editor with CodeMirror">
10+
<meta name="keywords" content="markdown, previewer, markdown previewer, codemirror, markdown editor, editor">
11+
<!--
12+
manifest.json provides metadata used when your web app is added to the
13+
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
14+
-->
15+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
16+
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
17+
<!--
18+
Notice the use of %PUBLIC_URL% in the tags above.
19+
It will be replaced with the URL of the `public` folder during the build.
20+
Only files inside the `public` folder can be referenced from the HTML.
21+
22+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
23+
work correctly both with client-side routing and a non-root public URL.
24+
Learn how to configure a non-root public URL by running `npm run build`.
25+
-->
26+
<title>Markdown Editor by Lam Pham</title>
27+
28+
<link href="https://use.fontawesome.com/releases/v5.2.0/css/solid.css" rel="stylesheet" integrity="sha384-wnAC7ln+XN0UKdcPvJvtqIH3jOjs9pnKnq9qX68ImXvOGz2JuFoEiCjT8jyZQX2z"
29+
crossorigin="anonymous">
30+
<link href="https://use.fontawesome.com/releases/v5.2.0/css/fontawesome.css" rel="stylesheet" integrity="sha384-HbmWTHay9psM8qyzEKPc8odH4DsOuzdejtnr+OFtDmOcIVnhgReQ4GZBH7uwcjf6"
31+
crossorigin="anonymous">
32+
<link rel="stylesheet" href="%PUBLIC_URL%/lib/codemirror-5.39.2/lib/codemirror.css">
33+
</head>
34+
35+
<body>
36+
<noscript>
37+
You need to enable JavaScript to run this app.
38+
</noscript>
39+
<div id="root"></div>
40+
<!--
41+
This HTML file is a template.
42+
If you open it directly in the browser, you will see an empty page.
43+
44+
You can add webfonts, meta tags, or analytics to this file.
45+
The build step will place the bundled scripts into the <body> tag.
46+
47+
To begin the development, run `npm start` or `yarn start`.
48+
To create a production bundle, use `npm run build` or `yarn build`.
49+
-->
50+
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.4.0/marked.min.js"></script>
51+
<script src="%PUBLIC_URL%/lib/codemirror-5.39.2/lib/codemirror.js"></script>
52+
<script src="%PUBLIC_URL%/lib/codemirror-5.39.2/mode/markdown/markdown.js"></script>
53+
</body>
54+
55+
</html>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
*.txt text eol=lf
2+
*.js text eol=lf
3+
*.html text eol=lf
4+
*.md text eol=lf
5+
*.json text eol=lf
6+
*.yml text eol=lf
7+
*.css text eol=lf
8+
*.svg text eol=lf
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/node_modules
2+
/demo
3+
/doc
4+
/test
5+
/test*.html
6+
/index.html
7+
/mode/*/*test.js
8+
/mode/*/*.html
9+
/mode/index.html
10+
.*
11+
/bin/authors.sh
12+
/bin/lint
13+
/bin/release
14+
/bin/upload-release.js
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
language: node_js
2+
node_js:
3+
- stable
4+
sudo: false

0 commit comments

Comments
 (0)