Skip to content

Commit 7aaa581

Browse files
committed
Add languages to code blocks in README
1 parent 6960967 commit 7aaa581

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ previous [project](https://github.com/TarVK/syntax-highlighter) by
2424

2525
Enter the following commands in a terminal:
2626

27-
```
27+
```shell
2828
git clone https://github.com/SWAT-engineering/rascal-textmate.git
2929
cd rascal-textmate/rascal-textmate-core
3030
mvn 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

0 commit comments

Comments
 (0)