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

---------

Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
This commit is contained in:
ultwczandOleg Lobanov authored and GitHub committed 2024-08-29 23:04:10 +02:00
1 parent f6f7e5fea3
commit b0f4604f44
7 files changed
+86 -2

No files matched your search

+13
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 */
}