initial commit
This commit is contained in:
		
							
								
								
									
										34
									
								
								app/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								app/index.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,34 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="UTF-8" />
 | 
			
		||||
    <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'" />
 | 
			
		||||
    <meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'" />
 | 
			
		||||
    <title>Hello from Electron renderer!</title>
 | 
			
		||||
    <link rel="stylesheet" href="style.css" type="text/css">
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
    <h1>Hello from Electron renderer!</h1>
 | 
			
		||||
    <p>👋</p>
 | 
			
		||||
    <p id="info"></p>
 | 
			
		||||
    <section class="controls">
 | 
			
		||||
        <button id="new-file">New File</button>
 | 
			
		||||
        <button id="open-file">Open File</button>
 | 
			
		||||
        <button id="save-markdown" disabled>Save File</button>
 | 
			
		||||
        <button id="revert" disabled>Revert</button>
 | 
			
		||||
        <button id="save-html">Save HTML</button>
 | 
			
		||||
        <button id="show-file" disabled>Show File</button>
 | 
			
		||||
        <button id="open-in-default" disabled>Open in Default Application</button>
 | 
			
		||||
    </section>
 | 
			
		||||
 | 
			
		||||
    <section class="content">
 | 
			
		||||
        <label for="markdown" hidden>Markdown Content</label>
 | 
			
		||||
        <textarea class="raw-markdown" id="markdown"></textarea>
 | 
			
		||||
        <div class="rendered-html" id="html"></div>
 | 
			
		||||
    </section>
 | 
			
		||||
</body>
 | 
			
		||||
<script src="./renderer.js"></script>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user