This commit is contained in:
Hideaki Tanabe 2022-03-04 01:24:38 +09:00
parent dedf4fb837
commit 61aedd8da8
6 changed files with 21 additions and 11 deletions

View File

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

View File

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

View File

@ -1,6 +0,0 @@
#!/bin/bash
SCRIPT_DIR=$(cd $(dirname $0); pwd)
pushd ./public
python -m http.server 8000
popd

View File

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

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