简体   繁体   中英

Jekyll - Highlighter on Aviator Theme?

Im unsure which highlighting system is being used on: https://github.com/CloudCannon/Aviator-Jekyll-Theme

It uses code like:

``` json
[
{
  "id": 1,
  "title": "The Hunger Games",
  "score": 4.5,
  "dateAdded": "12/12/2013"
},
{
  "id": 1,
  "title": "The Hunger Games",
  "score": 4.7,
  "dateAdded": "15/12/2013"
},
]
```

But code like:

``` c++
```

Doesnt seem to work. Cant find any CSS or JS references to anything so its confusing me heavily.

Aviator uses the default Jekyll syntax highlighter - Rouge . I haven't tried this but if you use cpp instead of c++ it might work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM