feat: implement markdown file preview in Ace editor (#3431)

---------

Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
This commit is contained in:
ultwcz
2024-08-30 05:04:10 +08:00
committed by GitHub
parent f6f7e5fea3
commit b0f4604f44
7 changed files with 86 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
.md_preview {
overflow-y: auto;
max-height: 80vh;
padding: 1rem;
border: 1px solid #000;
font-size: 20px;
line-height: 1.2;
}
#preview-container {
overflow: auto;
max-height: 80vh; /* Match the max-height of md_preview for scrolling */
}

View File

@@ -16,6 +16,7 @@
@import "./login.css";
@import "./mobile.css";
@import "./epubReader.css";
@import "./mdPreview.css";
/* For testing only
:focus {