File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ previous [project](https://github.com/TarVK/syntax-highlighter) by
2424
2525Enter the following commands in a terminal:
2626
27- ```
27+ ``` shell
2828git clone https://github.com/SWAT-engineering/rascal-textmate.git
2929cd rascal-textmate/rascal-textmate-core
3030mvn install -Drascal.compile.skip -Drascal.tutor.skip -DskipTests
@@ -36,7 +36,7 @@ rm -rf rascal-textmate
3636
3737 1 . Add the following dependency in ` pom.xml ` of the project:
3838
39- ```
39+ ``` xml
4040 <dependency >
4141 <groupId >org.rascalmpl</groupId >
4242 <artifactId >rascal-textmate-core</artifactId >
@@ -50,9 +50,9 @@ rm -rf rascal-textmate
5050 3. Open a REPL in a grammar module of the project, import module
5151 `lang::textmate::main::Main` in the REPL, and run function
5252 [`main`](https://github.com/SWAT-engineering/rascal-textmate/blob/69bd92c1e39b51c78ad6d49e680bba212a8df2a7/rascal-textmate-core/src/main/rascal/Main.rsc#L38-L47)
53- on the start symbol of the grammar. For instance:
53+ on the ` start` symbol of the grammar. For instance:
5454
55- ```
55+ ```rascal
5656 main(#Foo, "source.foo", |home:///Desktop/foo.json|)
5757 ```
5858
You can’t perform that action at this time.
0 commit comments