md/index.html

105 lines
3.0 KiB
HTML
Raw Normal View History

2024-08-18 19:49:16 +08:00
<!doctype html>
<html lang="zh-CN">
2021-02-28 14:51:16 +08:00
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
2024-08-22 19:22:25 +08:00
<meta name="keywords" content="md,markdown,markdown-editor,wechat,official-account,yanglbme,doocs" />
<meta name="description" content="Wechat Markdown Editor | 一款高度简洁的微信 Markdown 编辑器" />
2021-02-28 14:51:16 +08:00
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
2021-11-24 00:02:52 +08:00
<title>微信 Markdown 编辑器 | Doocs 开源社区</title>
2024-08-22 19:22:25 +08:00
<link rel="shortcut icon" href="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/favicon.png" />
2021-02-28 14:51:16 +08:00
<link
rel="apple-touch-icon-precomposed"
2022-05-27 22:20:17 +08:00
href="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png"
2021-02-28 14:51:16 +08:00
/>
2024-08-18 19:49:16 +08:00
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css"
integrity="sha384-nB0miv6/jRmo5UMMR1wu3Gz6NLsoTkbqJghGIsx//Rlm+ZU03BU6SQNC66uf4l5+"
2024-08-18 19:49:16 +08:00
crossorigin="anonymous"
/>
<style>
/**
解决公众号复制字体问题
*/
.katex .mathnormal {
2024-08-18 19:49:16 +08:00
font-family: 'Times New Roman' !important;
}
.loading {
position: fixed;
top: 0;
left: 0;
z-index: 99999;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
font-size: 18px;
}
.loading::before {
content: url('/src/assets/images/favicon.png');
width: 100px;
height: 100px;
margin-bottom: 26px;
}
.loading.dark {
color: #ffffff;
background-color: #141414;
}
.loading .txt {
position: absolute;
bottom: 10%;
}
.loading .txt::after {
content: '...';
animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
0% {
content: ' ';
}
25% {
content: '.';
}
50% {
content: '..';
}
75% {
content: '...';
}
}
</style>
2021-02-28 14:51:16 +08:00
</head>
2021-02-28 14:51:16 +08:00
<body>
<noscript>
<strong>Please enable JavaScript to continue.</strong>
</noscript>
<div id="app">
<div class="loading">
<strong>致力于让 Markdown 编辑更简单</strong>
<p class="txt">正在加载编辑器</p>
</div>
</div>
<script>
const theme = localStorage.getItem('vueuse-color-scheme')
if (theme === 'dark' || (theme === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.querySelector('.loading').classList.add('dark')
}
</script>
2024-08-18 19:49:16 +08:00
<script type="module" src="/src/main.js"></script>
2021-02-28 14:51:16 +08:00
</body>
2022-05-27 22:20:17 +08:00
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/wechatsync/article-syncjs@latest/dist/main.js"></script>
2021-02-28 14:51:16 +08:00
</html>