Compare commits
5 Commits
feature/fu
...
main
Author | SHA1 | Date | |
---|---|---|---|
0df7dcd98a | |||
30d0db1b08 | |||
19105060dd | |||
|
61aedd8da8 | ||
|
dedf4fb837 |
@ -5,4 +5,4 @@ This is the code for [Markdown Live Preview](https://markdownlivepreview.com/).
|
|||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
See the [LICENSE](https://github.com/tanabe/markdown-live-preview/blob/master/LICENSE) file in this repo.
|
See the [LICENSE](https://github.com/tanabe/markdown-live-preview/blob/master/LICENSE) file in this repo.
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 1485dd78f5e744ef36e946e5ae44838e3906f9d8
|
Subproject commit afa572390de862d4bb1cf7ca0c0d4ecf2373ced9
|
@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
SCRIPT_DIR=$(cd $(dirname $0); pwd)
|
|
||||||
pushd ./public
|
|
||||||
python -m http.server 8000
|
|
||||||
popd
|
|
File diff suppressed because it is too large
Load Diff
@ -81,6 +81,10 @@ img {
|
|||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#preview.column {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
z-index: 1001;
|
z-index: 1001;
|
||||||
@ -118,4 +122,4 @@ img {
|
|||||||
#footer #copyright a:hover {
|
#footer #copyright a:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,19 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||||
<meta http-equiv="content-language" content="en">
|
|
||||||
<meta http-equiv="content-script-type" content="text/javascript">
|
|
||||||
<meta http-equiv="content-style-type" content="text/css">
|
|
||||||
<meta name="description" content="This is the online markdown editor with live preview.">
|
<meta name="description" content="This is the online markdown editor with live preview.">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||||
<link rel="stylesheet" type="text/css" href="css/github-markdown.css">
|
<link rel="stylesheet" type="text/css" href="css/github-markdown.css">
|
||||||
<link rel="icon" type="image/png" href="favicon.png">
|
<link rel="icon" type="image/png" href="favicon.png">
|
||||||
|
|
||||||
<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
|
<script src="js/jquery-1.6.1.min.js"></script>
|
||||||
<script type="text/javascript" src="js/jquery.autosize-min.js"></script>
|
<script src="js/jquery.autosize-min.js"></script>
|
||||||
<script type="text/javascript" src="js/marked.min.js"></script>
|
<script src="js/marked.min.js"></script>
|
||||||
<script type="text/javascript" src="js/purify.min.js"></script>
|
<script src="js/purify.min.js"></script>
|
||||||
<script type="text/javascript" src="js/ace/ace.js"></script>
|
<script src="js/ace/ace.js"></script>
|
||||||
<script type="text/javascript" src="js/main.js"></script>
|
<script src="js/main.js"></script>
|
||||||
|
|
||||||
<title>Markdown Live Preview</title>
|
<title>Markdown Live Preview</title>
|
||||||
</head>
|
</head>
|
||||||
@ -107,20 +104,9 @@ This web site is using `markedjs/marked`.</div>
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="copyright"><a href="https://github.com/tanabe/markdown-live-preview"><img src="image/GitHub-Mark-Light-32px.png"></a></div>
|
<div id="copyright"><a href="https://git.a2s.su/iiiypuk/markdown-live-preview">
|
||||||
|
<img src="image/GitHub-Mark-Light-32px.png" alt="GitHub Logo"></a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
var _gaq = _gaq || [];
|
|
||||||
_gaq.push(['_setAccount', 'UA-73660-14']);
|
|
||||||
_gaq.push(['_trackPageview']);
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
||||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
||||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
8
scripts/deploy.sh
Executable file
8
scripts/deploy.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR=$(cd $(dirname $0); pwd)
|
||||||
|
|
||||||
|
cd ${SCRIPT_DIR}/..
|
||||||
|
|
||||||
|
firebase deploy
|
7
scripts/run-local-server.sh
Executable file
7
scripts/run-local-server.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR=$(cd $(dirname $0); pwd)
|
||||||
|
|
||||||
|
cd ${SCRIPT_DIR}/../public
|
||||||
|
python -m http.server 8000
|
Loading…
Reference in New Issue
Block a user