We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ed0f81 commit ada09b1Copy full SHA for ada09b1
.vuepress/config.js
@@ -24,6 +24,22 @@ module.exports = {
24
],
25
base: '/OpenCore-Install-Guide/',
26
27
+ watch: {
28
+ $page(newPage, oldPage) {
29
+ if (newPage.key !== oldPage.key) {
30
+ requestAnimationFrame(() => {
31
+ if (this.$route.hash) {
32
+ const element = document.getElementById(this.$route.hash.slice(1));
33
+
34
+ if (element && element.scrollIntoView) {
35
+ element.scrollIntoView();
36
+ }
37
38
+ });
39
40
41
+ },
42
43
markdown: {
44
extendMarkdown: md => {
45
md.use(require('markdown-it-multimd-table'), {
0 commit comments