parent
baacddfa88
commit
a76a1ee600
|
@ -9,6 +9,7 @@ from mode.java import JavaGrammar
|
||||||
from mode.javascript import JavascriptGrammar
|
from mode.javascript import JavascriptGrammar
|
||||||
from mode.python import PythonGrammar
|
from mode.python import PythonGrammar
|
||||||
from mode.scala import ScalaGrammar
|
from mode.scala import ScalaGrammar
|
||||||
|
from mode.haskell import HaskellGrammar
|
||||||
from mode.sql import SqlGrammar
|
from mode.sql import SqlGrammar
|
||||||
from mode.xml import XMLGrammar
|
from mode.xml import XMLGrammar
|
||||||
|
|
||||||
|
@ -52,6 +53,8 @@ MarkdownGrammar.rules = [
|
||||||
RegionRule('md.lang', r'^```java$', JavaGrammar, r'^```'),
|
RegionRule('md.lang', r'^```java$', JavaGrammar, r'^```'),
|
||||||
RegionRule('md.lang', r'^```python$', PythonGrammar, r'^```'),
|
RegionRule('md.lang', r'^```python$', PythonGrammar, r'^```'),
|
||||||
RegionRule('md.lang', r'^```scala$', ScalaGrammar, r'^```'),
|
RegionRule('md.lang', r'^```scala$', ScalaGrammar, r'^```'),
|
||||||
|
RegionRule('md.lang', r'^```tut(?::.+)?$', ScalaGrammar, r'^```'),
|
||||||
|
RegionRule('md.lang', r'^```haskell$', HaskellGrammar, r'^```'),
|
||||||
RegionRule('md.lang', r'^```sql$', SqlGrammar, r'^```'),
|
RegionRule('md.lang', r'^```sql$', SqlGrammar, r'^```'),
|
||||||
RegionRule('md.lang', r'^```xml$', XMLGrammar, r'^```'),
|
RegionRule('md.lang', r'^```xml$', XMLGrammar, r'^```'),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue