Skip to content

Commit

Permalink
fixing links
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Aug 2, 2024
1 parent 1220a5c commit cd88541
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ func Walk(dir string, out string, summary []byte, base string, titleText string,
return err
}

fileData := ReplaceMarkdownLinks(string(f))
//fileData := ReplaceMarkdownLinks(string(f))
fileData := MakeAbsoluteLinks(string(f))
htmlData := mdToHTML([]byte(fileData))

newData, err := CreateIndex(summary, htmlData, newPath[5:], base, titleText, color)
Expand Down
5 changes: 5 additions & 0 deletions gen/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ html, body {
margin: 0px;
}

p > a {
font-weight: bold;
text-decoration: underline;
}

img {
max-width: 100%;
}
Expand Down

0 comments on commit cd88541

Please sign in to comment.