mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			881 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			881 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype html>
 | |
| <html>
 | |
|     <head>
 | |
|         <meta charset="UTF-8" />
 | |
|         <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
 | |
|         <link rel="stylesheet" href="./main.css" />
 | |
|         <script src="./main.js"></script>
 | |
|     </head>
 | |
|     <body style="background-color: #F8F8F8;">
 | |
|         <div class="container markdown-body" id="contents"></div>
 | |
|     </body>
 | |
|     <script>
 | |
|         const resizeOberver = new ResizeObserver((entities) => {
 | |
|             const height = entities[0].contentRect.height
 | |
|             document.title = height.toFixed()
 | |
|         })
 | |
|         resizeOberver.observe(document.querySelector('#contents'))
 | |
|         window.showMarkdownFile = function (file) {
 | |
|             $.get(file, function( data ) {
 | |
|                 window.showMarkdown(encodeURIComponent(data));
 | |
|             });
 | |
|         }
 | |
|     </script>
 | |
| </html>
 | 
