You are here

codemirror_editor.codemirror_modes.yml in The CodeMirror Editor 8

File

codemirror_editor.codemirror_modes.yml
View source
  1. # Default language modes.
  2. clike:
  3. label: C-like
  4. mime_types:
  5. - text/x-csrc
  6. - text/x-c++src
  7. - text/x-java
  8. - text/x-csharp
  9. - text/x-objectivec
  10. - text/x-scala
  11. - text/x-vertex
  12. - x-shader/x-fragment
  13. - text/x-squirrel
  14. - text/x-ceylon
  15. css:
  16. label: CSS
  17. mime_types:
  18. - text/css
  19. - text/x-scss
  20. - text/x-less
  21. htmlmixed:
  22. label: HTML mixed
  23. mime_types:
  24. - text/html
  25. dependencies:
  26. - xml
  27. javascript:
  28. label: JavaScript
  29. mime_types:
  30. - text/javascript
  31. - application/json
  32. - application/ld+json
  33. - text/typescript
  34. - application/typescript
  35. markdown:
  36. label: Markdown
  37. mime_types:
  38. - text/x-markdown
  39. php:
  40. label: PHP
  41. mime_types:
  42. - text/x-php
  43. - application/x-httpd-php
  44. dependencies:
  45. - clike
  46. python:
  47. label: Python
  48. mime_types:
  49. - text/x-python
  50. - text/x-cython
  51. ruby:
  52. label: Ruby
  53. mime_types:
  54. - text/x-ruby
  55. sql:
  56. label: SQL
  57. mime_types:
  58. - text/x-sql
  59. - text/x-mysql
  60. - text/x-mariadb
  61. - text/x-cassandra
  62. - text/x-plsql
  63. - text/x-mssql
  64. - text/x-hive
  65. - text/x-pgsql
  66. - text/x-gql
  67. - text/x-gpsql
  68. - text/x-esper
  69. twig:
  70. label: Twig
  71. mime_types:
  72. - text/x-twig
  73. xml:
  74. label: XML
  75. mime_types:
  76. - application/xml
  77. - text/html
  78. yaml:
  79. label: YAML
  80. mime_types:
  81. - text/x-yaml