Skip to content

Commit 697642d

Browse files
authored
Merge pull request #38 from CreativeCodingLab/myedibleenso-patch-1
Syntax highlighting for README
2 parents b7a021f + 72f90b8 commit 697642d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ TAG was developed by Angus Forbes (UC Santa Cruz) and Kristine Lee (University o
2323

2424
If you use TAG in your work, please use the following citation:
2525

26-
```
26+
```TeX
2727
@inproceedings{TAG-2018,
2828
author = {Angus Forbes and Kristine Lee and Gus Hahn-Powell and Marco A. Valenzuela-Escárcega and Mihai Surdeanu},
2929
title = {Text Annotation Graphs: Annotating Complex Natural Language Phenomena},
@@ -47,7 +47,7 @@ TAG can be built and installed using [`npm`](https://docs.npmjs.com/getting-star
4747

4848
### Via `npm`
4949

50-
```
50+
```JavaScript
5151
npm install git+https://github.com/CreativeCodingLab/TextAnnotationGraphs.git
5252
```
5353

@@ -57,19 +57,19 @@ To use TAG with your own applications, first include the library in your script:
5757

5858
#### Browserify (CommonJS)
5959

60-
```
60+
```JavaScript
6161
const TAG = require("text-annotation-graphs");
6262
```
6363

6464
#### ES6
6565

66-
```
66+
```JavaScript
6767
import TAG from "text-annotation-graphs";
6868
```
6969

7070
Then initialise the visualisation on an element, optionally specifying the initial data set to load and any overrides to the default options. For more details, consult the [full API documentation](docs/index.html).
7171

72-
```
72+
```JavaScript
7373
const graph = TAG.tag({
7474
container: $container,
7575
data: {...},
@@ -121,6 +121,6 @@ TAG uses [JSDoc](http://usejsdoc.org/) to generate its documentation. By default
121121

122122
To regenerate the documentation, use the following `npm` task:
123123

124-
```
124+
```javscript
125125
npm run generate-docs
126126
```

0 commit comments

Comments
 (0)