mirror of
https://github.com/gnu4cn/ccna60d.git
synced 2024-05-21 04:55:00 +08:00
Added mdbook-pagetoc preprocessor
This commit is contained in:
parent
85ccc5ef97
commit
eb3da86fe9
4
.gitignore
vendored
4
.gitignore
vendored
@ -1 +1,5 @@
|
|||||||
book
|
book
|
||||||
|
|
||||||
|
theme/index.hbs
|
||||||
|
theme/pagetoc.css
|
||||||
|
theme/pagetoc.js
|
||||||
|
@ -4,3 +4,8 @@ language = "zh-CN"
|
|||||||
multilingual = false
|
multilingual = false
|
||||||
src = "src"
|
src = "src"
|
||||||
title = "CCNA60D Chinese, 中文版 CCNA 60 days"
|
title = "CCNA60D Chinese, 中文版 CCNA 60 days"
|
||||||
|
|
||||||
|
[preprocessor.pagetoc]
|
||||||
|
[output.html]
|
||||||
|
additional-css = ["theme/pagetoc.css"]
|
||||||
|
additional-js = ["theme/pagetoc.js"]
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
<link rel="stylesheet" href="ayu-highlight.css">
|
<link rel="stylesheet" href="ayu-highlight.css">
|
||||||
|
|
||||||
<!-- Custom theme stylesheets -->
|
<!-- Custom theme stylesheets -->
|
||||||
|
<link rel="stylesheet" href="theme/pagetoc.css">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -143,9 +144,8 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="content" class="content">
|
<div id="content" class="content">
|
||||||
<main>
|
<main><div class="sidetoc"><nav class="pagetoc"></nav></div>
|
||||||
<h1 id="60-天通过-ccna-考试"><a class="header" href="#60-天通过-ccna-考试">60 天通过 CCNA 考试</a></h1>
|
<h1 id="60-天通过-ccna-考试-"><a class="header" href="#60-天通过-ccna-考试-">60 天通过 CCNA 考试 🖧</a></h1>
|
||||||
<h1 id="60-天通过-ccna-考试-"><a class="header" href="#60-天通过-ccna-考试-">60 天通过 CCNA 考试 🖧</a></h1>
|
|
||||||
<p><strong>Cisco CCNA in 60 Days</strong></p>
|
<p><strong>Cisco CCNA in 60 Days</strong></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
@ -257,6 +257,7 @@
|
|||||||
<script src="book.js"></script>
|
<script src="book.js"></script>
|
||||||
|
|
||||||
<!-- Custom JS scripts -->
|
<!-- Custom JS scripts -->
|
||||||
|
<script src="theme/pagetoc.js"></script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user