mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	FIX:release note support for richtext and markdown
Change-Id: Ie00dc94d88005c123acd20f05f43c5473b6dfa46
This commit is contained in:
		
							parent
							
								
									673b6418c1
								
							
						
					
					
						commit
						c47f892ec8
					
				
					 3 changed files with 109 additions and 6 deletions
				
			
		
							
								
								
									
										24
									
								
								resources/tooltip/releasenote.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								resources/tooltip/releasenote.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| <!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> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tao wang
						tao wang