Skip to content

Commit

Permalink
feat(#81): minor fixes from review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Tweekism committed Jul 28, 2024
1 parent dd1e205 commit 5a27356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const pathHeading: Renderer = (path: string) => `# \`${path.replace(homedir(), '

function wrap(contentType: string, content: string, linkPath?: string): string {
let link = '';
if (typeof linkPath !== 'undefined') {
link = `\n<div id="top-nav">\n<a href="${pathToURL(linkPath)}"> ${
if (linkPath) {
link = `\n<div id="top-nav">\n<a id="top-nav-up" href="${pathToURL(linkPath)}"> ${
pbasename(linkPath) || '/'
}</a>\n</div>`;
}
Expand Down
1 change: 1 addition & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ h3:hover a.header-anchor, h4:hover a.header-anchor,
h5:hover a.header-anchor, h6:hover a.header-anchor {
opacity: 1;
}
a#top-nav-up:before { content: '◂'}

/* --------------------------------------------------------------------------
* TABLES ------------------------------------------------------------------- */
Expand Down

0 comments on commit 5a27356

Please sign in to comment.