Skip to content
New issue

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

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

Already on GitHub? # to your account

language "text" is broken #9

Closed
h-2 opened this issue Apr 3, 2020 · 1 comment
Closed

language "text" is broken #9

h-2 opened this issue Apr 3, 2020 · 1 comment

Comments

@h-2
Copy link

h-2 commented Apr 3, 2020

If I try to use "text" as language (which means no syntax-highlighting, but possibly other minted settings like font...) the build fails with :

(node:21052) UnhandledPromiseRejectionWarning: Error: Cannot tokenize plaintext
    at Object.codeToThemedTokens (/usr/home/hannes/tmp/node_modules/shiki/dist/highlighter.js:110:47)

A simple example would be to define \newmintinline[mono]{text}{} and then try to use \mono{FOOBAR}.

@leafac leafac closed this as completed in 8d6fc50 Apr 3, 2020
@leafac
Copy link
Member

leafac commented Apr 3, 2020

Thanks for reporting. Fixed in 1.3.0.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants