Skip to content

Commit

Permalink
chore: Update highlight language warning to point to --help
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Jan 3, 2021
1 parent e884ec3 commit 09bf048
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/output/plugins/MarkedPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ export class MarkedPlugin extends ContextAwareRendererComponent {
lang = lang || "typescript";
lang = lang.toLowerCase();
if (!isSupportedLanguage(lang)) {
// Extra newline because of the progress bar
this.application.logger.warn(
`Unsupported highlight language "${lang}" will not be highlighted`
`\nUnsupported highlight language "${lang}" will not be highlighted. Run typedoc --help for a list of supported languages.`
);
return text;
}
Expand Down

0 comments on commit 09bf048

Please sign in to comment.