shiki-languages-paths
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

shiki-languages

Languages & grammars for Shiki.

Collections

Extras

Literal Values

export type TCommonLang = 
  | 'clojure'
  | 'c'
  | 'cpp'
  | 'csharp'
  | 'css'
  | 'go'
  | 'html'
  | 'jade'
  | 'java'
  | 'jsx'
  | 'javascript'
  | 'json'
  | 'jsonc'
  | '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'
 
export type TCommonLangAlias = 
  | 'clj'
  | 'c++'
  | 'htm'
  | 'xhtml'
  | 'js'
  | 'objc'
  | 'py'
  | 'rb'
  | 'shell'
  | 'bash'
  | 'sh'
  | 'zsh'
  | 'ts'
  | 'yml'
  | 'md'
  /**
   * Extra grammars
   */
  | 'styl'
  | 'tex'
 
export type TOtherLang = 
  | 'bat'
  | 'coffeescript'
  | 'diff'
  | 'dockerfile'
  | 'fsharp'
  | 'git-commit'
  | 'git-rebase'
  | 'groovy'
  | 'handlebars'
  | 'ini'
  | 'properties'
  | 'perl'
  | 'powershell'
  | 'razor'
  | 'shaderlab'
  | 'vb'
  | 'cmd'
  | 'xsl'
 
export type TLang = TCommonLang | TCommonLangAlias | TOtherLang

Upstream

Package Sidebar

Install

npm i shiki-languages-paths

Weekly Downloads

0

Version

0.1.6

License

MIT

Unpacked Size

1.82 MB

Total Files

71

Last publish

Collaborators

  • browniefed