LIP30 Day 8

On TIL Day 7, there was a JavaScript snippet. I wanted to show syntax highlighting and apparently Quartz comes with a default plugin for that. It’s easy to do syntax highlighting by using backticks and the language code—in this case js ```

Not only that, I can also highlight certain lines by adding { <line numbers> }.

In this case,

```js { 19-20 }
```

to highlight lines 19 and 20.

There are other cool features like word highlighting and this page documents all of them.

https‎://quartz.jzhao.xyz/features/syntax-highlighting