Skip to content

Commit

Permalink
😉
Browse files Browse the repository at this point in the history
  • Loading branch information
MatiDragon-YT committed Feb 9, 2022
1 parent ddabe54 commit 8af2789
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ SP.toMarkdown = function(){
target += '_blank"'
}else{
target += '_self"'
href = href.r(/\.md/, '.html')
href = href
.r(/^%g\//m, ROOT)
.r(/\.md/, '.html')
}

function getTitle(){
Expand Down
2 changes: 1 addition & 1 deletion js/main.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8af2789

Please sign in to comment.