Compare commits

..

5 Commits

Author SHA1 Message Date
0df7dcd98a w3c 2022-12-26 22:39:43 +03:00
30d0db1b08 remove google 2022-12-26 22:38:18 +03:00
19105060dd update github css to 5.1.0 2022-12-26 22:35:00 +03:00
Hideaki Tanabe
61aedd8da8 Fix #24 2022-03-04 01:24:38 +09:00
Hideaki Tanabe
dedf4fb837
Merge pull request #23 from tanabe/feature/full-screen
Feature/full screen
2020-10-27 01:17:51 +09:00
9 changed files with 782 additions and 831 deletions

View File

@ -5,4 +5,4 @@ This is the code for [Markdown Live Preview](https://markdownlivepreview.com/).
## 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.

View File

@ -1,3 +0,0 @@
#!/bin/bash
firebase deploy

@ -1 +1 @@
Subproject commit 1485dd78f5e744ef36e946e5ae44838e3906f9d8
Subproject commit afa572390de862d4bb1cf7ca0c0d4ecf2373ced9

View File

@ -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

View File

@ -81,6 +81,10 @@ img {
overflow-y: scroll;
}
#preview.column {
white-space: normal;
}
#footer {
padding: 5px;
z-index: 1001;
@ -118,4 +122,4 @@ img {
#footer #copyright a:hover {
color: #fff;
text-decoration: none;
}
}

View File

@ -1,22 +1,19 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<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.">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/github-markdown.css">
<link rel="icon" type="image/png" href="favicon.png">
<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="js/jquery.autosize-min.js"></script>
<script type="text/javascript" src="js/marked.min.js"></script>
<script type="text/javascript" src="js/purify.min.js"></script>
<script type="text/javascript" src="js/ace/ace.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script src="js/jquery-1.6.1.min.js"></script>
<script src="js/jquery.autosize-min.js"></script>
<script src="js/marked.min.js"></script>
<script src="js/purify.min.js"></script>
<script src="js/ace/ace.js"></script>
<script src="js/main.js"></script>
<title>Markdown Live Preview</title>
</head>
@ -107,20 +104,9 @@ This web site is using `markedjs/marked`.</div>
</div>
<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>
<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>
</html>

8
scripts/deploy.sh Executable file
View 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
View 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