You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'tokenizeLine' of undefined
But I just want to have a simple block (just like GFM):
no highlighting
Using plaintext, txt, text doesn't work
highlighter.codeToHtml('','plaintext');
shiki-languages seems to be missing plaintext too.
exportdeclaretypeTCommonLang='clojure'|'c'|'cpp'|'css'|'go'|'html'|'jade'|'java'|'jsx'|'javascript'|'json'|'less'|'lua'|'makefile'|'markdown'|'objective-c'|'perl6'|'php'|'python'|'r'|'ruby'|'rust'|'scss'|'shellscript'|'sql'|'swift'|'typescript'|'tsx'|'xml'|'yaml'/** * Extra grammars */|'haml'|'graphql'|'postcss'|'sass'|'stylus'|'vue'|'vue-html'|'latex';exportdeclaretypeTCommonLangAlias='clj'|'c++'|'htm'|'xhtml'|'js'|'objc'|'py'|'rb'|'shell'|'bash'|'sh'|'ts'/** * Extra grammars */|'styl'|'tex';exportdeclaretypeTOtherLang='bat'|'coffeescript'|'diff'|'dockerfile'|'fsharp'|'git-commit'|'git-rebase'|'groovy'|'handlebars'|'ini'|'properties'|'perl'|'powershell'|'razor'|'shaderlab'|'vb'|'xsl';exportdeclaretypeTLang=TCommonLang|TCommonLangAlias|TOtherLang;
The text was updated successfully, but these errors were encountered:
If the language is
undefined
- there's an errorBut I just want to have a simple block (just like GFM):
Using
plaintext
,txt
,text
doesn't workshiki-languages
seems to be missingplaintext
too.The text was updated successfully, but these errors were encountered: