-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfullscreen.html
More file actions
90 lines (84 loc) Β· 4.02 KB
/
fullscreen.html
File metadata and controls
90 lines (84 loc) Β· 4.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title data-i18n-title-key="fullscreenTitle">Markdown Editor - Fullscreen</title>
<link rel="stylesheet" href="styles/fullscreen.css">
<link rel="stylesheet" href="styles/drag-resize.css">
</head>
<body>
<div class="container">
<div class="header">
<h1 data-i18n="fullscreenTitle">Markdown Editor - Fullscreen</h1>
<div class="toolbar">
<button id="formatBtn" data-i18n-title="format">π</button>
<button id="copyHtmlBtn" data-i18n-title="copyHTML">π</button>
<button id="copyMarkdownBtn" data-i18n-title="copyMarkdown">π</button>
<button id="exportHtmlBtn" data-i18n-title="exportHTML">πΎ</button>
<button id="exportMdBtn" data-i18n-title="exportMD">π</button>
<button id="clearBtn" data-i18n-title="clear">ποΈ</button>
</div>
</div>
<div class="editor-container resizable-container">
<div class="editor-panel">
<div class="panel-header">
<span data-i18n="markdownEditor">Markdown Editor</span>
<div class="editor-tools">
<button id="boldBtn" data-i18n-title="bold">B</button>
<button id="italicBtn" data-i18n-title="italic">I</button>
<button id="linkBtn" data-i18n-title="link">π</button>
<button id="codeBtn" data-i18n-title="code">{ }</button>
<button id="searchBtn" data-i18n-title="search">π</button>
<button id="themeBtn" data-i18n-title="theme">π</button>
</div>
</div>
<textarea id="markdownInput" data-i18n-placeholder="inputPlaceholder" placeholder="Enter your Markdown content here..."></textarea>
<!-- Search Panel -->
<div id="searchPanel" class="search-panel" style="display: none;">
<input type="text" id="searchInput" data-i18n-placeholder="searchPlaceholder" placeholder="Search...">
<input type="text" id="replaceInput" data-i18n-placeholder="replacePlaceholder" placeholder="Replace...">
<div class="search-actions">
<button id="findPrevBtn">β</button>
<button id="findNextBtn">β</button>
<button id="replaceBtn" data-i18n="replace">Replace</button>
<button id="replaceAllBtn" data-i18n="replaceAll">Replace All</button>
<button id="searchCloseBtn" data-i18n="close">Close</button>
</div>
</div>
</div>
<div class="resizer"></div>
<div class="preview-panel">
<div class="panel-header">
<span data-i18n="livePreview">Live Preview</span>
<div class="preview-tools">
<div class="theme-selector">
<button id="previewThemeBtn" data-i18n-title="previewTheme">π¨</button>
<div id="themeDropdown" class="theme-dropdown">
<button data-theme="default" data-i18n="themeDefault">Default</button>
<button data-theme="github" data-i18n="themeGithub">GitHub</button>
<button data-theme="vuepress" data-i18n="themeVuepress">VuePress</button>
<button data-theme="minimal" data-i18n="themeMinimal">Minimal</button>
<button data-theme="technical" data-i18n="themeTechnical">Technical</button>
</div>
</div>
</div>
</div>
<div id="markdownPreview" class="preview-content theme-default"></div>
</div>
</div>
<div class="footer">
<div class="stats">
<span id="wordCount">0 <span data-i18n="wordCount">Words</span></span>
<span id="charCount">0 <span data-i18n="charCount">Characters</span></span>
<span id="lastSaved" data-i18n="notSaved">Not saved</span>
</div>
</div>
</div>
<script src="lib/marked.min.js"></script>
<script src="lib/highlight.min.js"></script>
<script src="lib/dompurify.min.js"></script>
<script src="scripts/i18n.js"></script>
<script src="scripts/fullscreen.js"></script>
</body>
</html>