Skip to content

Commit eab20f0

Browse files
committed
chore: add template
1 parent 0d07cba commit eab20f0

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.DS_Store
33
node_modules/
44
!dist/template.html
5-
dist/
5+
dist/__live_markd__
66

77
public/
88
**/*debug.log

dist/template.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
7+
<title><%=title%></title>
8+
<script src="//polyfill.io/v2/polyfill.js?features=EventSource"></script>
9+
<link rel="stylesheet" href="//unpkg.com/github-markdown-css">
10+
<link rel="stylesheet" href="//unpkg.com/highlight.js/styles/github.css">
11+
<link href="<%=baseUrl%>__live_markd__/1.style.css" rel="stylesheet"></head>
12+
<body>
13+
<div class="markdown-body">
14+
<%=markdownHTML%>
15+
</div>
16+
<script type="text/javascript" src="<%=baseUrl%>__live_markd__/styles.js"></script><script type="text/javascript" src="<%=baseUrl%>__live_markd__/main.js"></script></body>
17+
</html>

0 commit comments

Comments
 (0)