Skip to content

Commit

Permalink
comment about links to sections
Browse files Browse the repository at this point in the history
  • Loading branch information
hatton committed Aug 9, 2022
1 parent bb31930 commit fe2d623
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ export function convertInternalLinks(
return layoutStrategy.getLinkPathForPage(p);
}

// About this situation. See https://github.com/sillsdev/docu-notion/issues/9
warning(
`Could not find the target of this link. Note that links to outline sections are not supported. ${url}`
`Could not find the target of this link. Note that links to outline sections are not supported. ${url}. https://github.com/sillsdev/docu-notion/issues/9`
);

return url;
Expand Down
2 changes: 1 addition & 1 deletion src/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function setLogLevel(l: levels): void {
logLevel = l;
}
export function error(s: string): void {
console.error(chalk.bold.red(s));
console.error(chalk.red(s));
}
export function warning(s: string): void {
console.log(chalk.hex("#FFA500")(s));
Expand Down

0 comments on commit fe2d623

Please sign in to comment.