jQuery는 Markdown 웹 텍스트 편집기 플러그인을 만듭니다.
<html lang="zh">
<머리>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Markdown网页文本编辑器插件</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/demo.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-markdown.min.css">
</머리>
<body><script src="/demos/googlegg.js"></script>
<br /><br /><br />
<div class="demo">
<div class="컨테이너">
<textarea id="editor-zh" name="content"rows="10"></textarea>
</div>
</div>
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/bootstrap-markdown.js"></script>
<script type="text/javascript" src="locale/bootstrap-markdown.zh.js"></script>
<스크립트 유형="텍스트/자바스크립트">
$(함수(){
$("#editor-zh").markdown({언어:'zh'})
})
<div style="text-align:center;margin:50px 0; 글꼴:normal 14px/24px 'MicroSoft YaHei';">
</div>
</본문>