玛氪宕·梦魔(Markdown Memo),使用Markdown的云端备忘录,百度IFE的RIA启航班的不合格的作业,才……才没有什么阴谋呢!
源gitee链接https://gitee.com/arathi/MarkdownMemo?_from=gitee_search
				
			
			
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							46 lines
						
					
					
						
							1.7 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							46 lines
						
					
					
						
							1.7 KiB
						
					
					
				
								<!DOCTYPE html>
							 | 
						|
								<html lang="zh">
							 | 
						|
								    <head>
							 | 
						|
								        <meta charset="utf-8" />
							 | 
						|
								        <title>动态创建Editor.md - Editor.md examples</title>
							 | 
						|
								        <link rel="stylesheet" href="css/style.css" />
							 | 
						|
								        <link rel="stylesheet" href="../dist/css/editormd.css" />
							 | 
						|
								    </head>
							 | 
						|
								    <body>
							 | 
						|
								        <div id="layout">
							 | 
						|
								            <header>
							 | 
						|
								                <h1>动态创建Editor.md</h1>
							 | 
						|
								                <p>Dynamic create Editor.md</p>
							 | 
						|
								                <br/>
							 | 
						|
								                <div class="btns" style="margin:0;">
							 | 
						|
								                    <button id="create-btn">动态创建一个Editor.md</button>
							 | 
						|
								                    <button id="remove-btn">移除Editor.md</button>
							 | 
						|
								                </div>
							 | 
						|
								            </header>
							 | 
						|
								        </div>
							 | 
						|
								        
							 | 
						|
								        <script src="../lib/jquery.min.js"></script> 
							 | 
						|
								        <script type="text/javascript">
							 | 
						|
								            var testEditormd;
							 | 
						|
								            
							 | 
						|
								            $(function() {                
							 | 
						|
								                $("#create-btn").click(function(){                    
							 | 
						|
													$.getScript("../src/js/editormd.js", function() {
							 | 
						|
								                        $("#layout").append("<div id=\"test-editormd\"></div>");
							 | 
						|
								                        
							 | 
						|
								                        testEditormd = editormd("test-editormd", {
							 | 
						|
								                            width: "90%",
							 | 
						|
								                            height: 240,
							 | 
						|
								                            markdown : "###动态创建Editor.md\n\nDynamic create Editor.md",
							 | 
						|
								                            path : '../lib/'
							 | 
						|
								                        });
							 | 
						|
													});
							 | 
						|
								                });  
							 | 
						|
								                
							 | 
						|
								                $("#remove-btn").click(function() {
							 | 
						|
								                    testEditormd.editor.remove();
							 | 
						|
								                });
							 | 
						|
								            });
							 | 
						|
								        </script>
							 | 
						|
								    </body>
							 | 
						|
								</html>
							 |