forked from Vanessa219/vditor
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e2f05c
commit c9f1218
Showing
16 changed files
with
8,810 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.idea | ||
/dist | ||
/node_modules | ||
/demo/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2019 B3log 开源, b3log.org | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// webpack.demo.js | ||
import Vditor from '../src/index' | ||
// import Vditor from 'vditor' | ||
// import Vditor from '../dist/index.min' | ||
|
||
const vditor = new Vditor('V') | ||
console.log(vditor.greet()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
body { | ||
background-color: #f1f7fe; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh-cmn-Hans"> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/> | ||
<meta name="theme-color" content="#f1f7fe"> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="mobile-web-app-capable" content="yes"/> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
<title>黑客派 - 为未来而构建的开发者社区,找到你所需的技术解决方案、记录和分享我们的程序人生</title> | ||
<meta name="description" | ||
content="B3log 开源社区线上论坛,目前已经有超过 40,000 的伙伴加入。HacPai 分别取 Hacker / Painter 的头三个字母组成,源自《黑客与画家》。"/> | ||
<meta property="og:description" | ||
content="B3log 开源社区线上论坛,目前已经有超过 40,000 的伙伴加入。HacPai 分别取 Hacker / Painter 的头三个字母组成,源自《黑客与画家》。"/> | ||
<meta name="twitter:description" property="og:description" itemprop="description" | ||
content="B3log 开源社区线上论坛,目前已经有超过 40,000 的伙伴加入。HacPai 分别取 Hacker / Painter 的头三个字母组成,源自《黑客与画家》。"/> | ||
<link rel="dns-prefetch" href="//static.hacpai.com"/> | ||
<link rel="dns-prefetch" href="//img.hacpai.com"/> | ||
<link rel="preconnect" href="https://static.hacpai.com"> | ||
<link rel="icon" type="image/png" href="https://static.hacpai.com/images/favicon.png"/> | ||
<link rel="apple-touch-icon" href="https://static.hacpai.com/images/apple-touch-icon.png"> | ||
<link rel="shortcut icon" type="image/x-icon" href="https://static.hacpai.com/images/favicon.png"> | ||
<meta name="copyright" content="B3log"/> | ||
<meta http-equiv="Window-target" content="_top"/> | ||
<meta property="og:locale" content="zh-cmn-Hans"/> | ||
<meta property="og:title" content="黑客派 - 为未来而构建的开发者社区,找到你所需的技术解决方案、记录和分享我们的程序人生"/> | ||
<meta property="og:site_name" content="黑客派"/> | ||
<meta property="og:url" content="http://hacpai.com:443/"/> | ||
<meta name="twitter:card" content="summary"/> | ||
<meta name="twitter:domain" content="hacpai.com"/> | ||
<meta name="twitter:title" property="og:title" itemprop="title name" | ||
content="黑客派 - 为未来而构建的开发者社区,找到你所需的技术解决方案、记录和分享我们的程序人生"/> | ||
<meta name="twitter:site" content="@B3logOS"/> | ||
<meta name="twitter:url" content="http://hacpai.com:443/"/> | ||
<meta property="og:image" content="https://static.hacpai.com/images/faviconH.png"/> | ||
<meta name="twitter:image" content="https://static.hacpai.com/images/faviconH.png"/> | ||
<!-- webpack 编译 --> | ||
<link href="dist/demo.css" rel="stylesheet"> | ||
<script src="dist/demo.js" defer></script> | ||
<!-- 静态文件引入文件 --> | ||
<!--<link href="../dist/index.classic.css" rel="stylesheet">--> | ||
<!--<script src="../dist/index.min.js"></script>--> | ||
<!--<script src="demo.js"></script>--> | ||
</head> | ||
<body> | ||
</body> | ||
</html> |
Oops, something went wrong.