-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
index.html
121 lines (120 loc) · 4.27 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>
Marpit: The skinny framework for creating slide deck from Markdown
</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta
name="description"
content="The skinny framework for creating slide deck from Markdown"
/>
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<link rel="stylesheet" href="/style/docsify.css" />
<link rel="icon" type="image/png" href="/favicon.png" />
</head>
<body>
<!--
<template id="alert-for-marp-consumers">
<aside class="alert-for-marp-consumers">
<div class="alert-for-marp-consumers-content">
<div class="alert-for-marp-consumers-close-container">
<button class="alert-for-marp-consumers-close" data-alert-close="">
<img
class="alert-for-marp-consumers-close-img"
src="https://icongr.am/material/close.svg"
alt="Close"
/>
</button>
</div>
<p>
This documentation is targeted for <b>JavaScript developers</b> who
are using Marpit framework, not for users of
<a href="https://marp.app" target="_blank" rel="noopener noreferrer"
>Marp presentation ecosystem</a
>. If you are a consumer of Marp who are not familiar with
engineering, it may be hard to understand the contents.
</p>
<p>
<a
href="https://marp.app/blog/re-creation-of-marp-website"
target="_blank"
rel="noopener noreferrer"
>Marp team is planning a unified documentation for Marp users.</a
>
Track the progress at
<a
href="https://github.com/marp-team/marp/discussions/126"
target="_blank"
rel="noopener noreferrer"
>marp-team/marp#126</a
>.
</p>
</div>
<div class="alert-for-marp-consumers-button-container">
<button
class="alert-for-marp-consumers-button"
type="button"
data-alert-close=""
>
Got it
</button>
</div>
</aside>
</template>
-->
<div id="app"></div>
<script>
window.$docsify = {
name: 'Marpit',
repo: 'https://github.com/marp-team/marpit',
logo: 'marpit.png',
nameLink: '/',
homepage: 'introduction.md',
routerMode: 'history',
auto2top: true,
loadSidebar: true,
subMaxLevel: 3,
maxLevel: 4,
pagination: { crossChapter: true },
plugins: [
(hook) => {
// const tpl = document.getElementById('alert-for-marp-consumers')
// hook.afterEach((html) => {
// try {
// const alertState = sessionStorage.getItem('marpit-alert')
// if (alertState === 'read') return html
// } catch (e) {
// // ignore
// }
// return tpl.innerHTML + html
// })
// hook.mounted(() => {
// document.body.addEventListener('click', (e) => {
// if (e.target.closest('[data-alert-close]')) {
// e.preventDefault()
// document
// .querySelectorAll('.alert-for-marp-consumers')
// .forEach((el) => el.remove())
// try {
// sessionStorage.setItem('marpit-alert', 'read')
// } catch (e) {
// // ignore
// }
// }
// })
// })
},
],
}
</script>
<script
defer
src="https://cdn.jsdelivr.net/combine/npm/docsify@4.11/lib/docsify.min.js,npm/docsify-copy-code,npm/docsify-themeable@0.8,npm/docsify-pagination@2.6/dist/docsify-pagination.min.js,npm/prismjs@1.20/components/prism-bash.min.js,npm/prismjs@1.20/components/prism-markdown.min.js,npm/prismjs@1.20/components/prism-scss.min.js,npm/prismjs@1.20/components/prism-json.min.js"
></script>
</body>
</html>