|
|
|
@@ -16,7 +16,18 @@ |
|
|
|
window.$docsify = { |
|
|
|
loadSidebar: 'content.md', |
|
|
|
subMaxLevel: 2, |
|
|
|
plugins: [], |
|
|
|
plugins: [ |
|
|
|
//注入钩子,将katex目前不支持的公式环境替换为支持的 |
|
|
|
function (hook) { |
|
|
|
hook.beforeEach(function (content) { |
|
|
|
return content |
|
|
|
.replace(/\\begin\{align\*\}/g, '\\begin{aligned}') |
|
|
|
.replace(/\\end\{align\*\}/g, '\\end{aligned}') |
|
|
|
.replace(/\\begin\{gather\*\}/g, '\\begin{gathered}') |
|
|
|
.replace(/\\end\{gather\*\}/g, '\\end{gathered}'); |
|
|
|
}); |
|
|
|
} |
|
|
|
], |
|
|
|
name: 'Coursera吴恩达机器学习课程整理', |
|
|
|
repo: 'https://github.com/scruel/ML-AndrewNg-Notes' |
|
|
|
} |
|
|
|
|