feat:晚上简历模板

This commit is contained in:
2024-12-26 14:26:05 +08:00
parent 2eecc1e637
commit 7fd8630efa
5 changed files with 47 additions and 5 deletions

29
src/index.html Normal file
View File

@@ -0,0 +1,29 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>Marked in the browser</title>
<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
</head>
<body>
<div id="content" class="container"></div>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<script>
$.ajax(
{
type:"get",
url:"./test.md",
dataType:"html",
success:function(data){
document.getElementById('content').innerHTML =
marked.parse(data);
}
}
)
</script>
</body>
</html>