Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(highlight): skip warning for txt language #2109

Merged
merged 1 commit into from
Mar 20, 2023
Merged

Conversation

aloisklink
Copy link
Contributor

Skip logging a warning when trying to highlight a Markdown code-block that has the language txt, e.g.

```txt
Hello world!
```

Otherwise we get a warning when running vitepress build docs that says:

The language 'txt' is not loaded, falling back to 'txt' for syntax highlighting.

Skip logging a warning when trying to highlight a Markdown code-block
that has the language `txt`.

Otherwise we get a warning that says:

> The language 'txt' is not loaded,
> falling back to 'txt' for syntax highlighting.
@brc-dd brc-dd merged commit ac953ce into vuejs:main Mar 20, 2023
@aloisklink aloisklink deleted the patch-1 branch March 20, 2023 11:07
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants