Skip to content

Commit

Permalink
Add languages to code blocks in README
Browse files Browse the repository at this point in the history
  • Loading branch information
sungshik committed Nov 15, 2024
1 parent 6960967 commit 7aaa581
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ previous [project](https://github.com/TarVK/syntax-highlighter) by

Enter the following commands in a terminal:

```
```shell
git clone https://github.com/SWAT-engineering/rascal-textmate.git
cd rascal-textmate/rascal-textmate-core
mvn install -Drascal.compile.skip -Drascal.tutor.skip -DskipTests
Expand All @@ -36,7 +36,7 @@ rm -rf rascal-textmate

1. Add the following dependency in `pom.xml` of the project:

```
```xml
<dependency>
<groupId>org.rascalmpl</groupId>
<artifactId>rascal-textmate-core</artifactId>
Expand All @@ -50,9 +50,9 @@ rm -rf rascal-textmate
3. Open a REPL in a grammar module of the project, import module
`lang::textmate::main::Main` in the REPL, and run function
[`main`](https://github.com/SWAT-engineering/rascal-textmate/blob/69bd92c1e39b51c78ad6d49e680bba212a8df2a7/rascal-textmate-core/src/main/rascal/Main.rsc#L38-L47)
on the start symbol of the grammar. For instance:
on the `start` symbol of the grammar. For instance:

```
```rascal
main(#Foo, "source.foo", |home:///Desktop/foo.json|)
```

Expand Down

0 comments on commit 7aaa581

Please sign in to comment.