gbdev / gbdev.github.io

the 'game boy development community' institutional website: showcases projects and hosts some community content
https://gbdev.io
GNU General Public License v3.0
23 stars 11 forks source link

Syntax highlighting #36

Closed ISSOtm closed 2 years ago

ISSOtm commented 2 years ago

We could use Prism or shiki.

avivace commented 2 years ago

We could use Prism or shiki.

Those plugin are for Vuepress 2.x. There are alternatives/versions for 1.x but I think we should migrate

ISSOtm commented 2 years ago

Ah? Well then, I guess Prism is 1.x's default highlighter, then, as that appears to be what's being used.

avivace commented 2 years ago

I installed and enabled Shiki. Imported languages are specified in config.js (https://github.com/gbdev/gbdev.github.io/blob/dev/list/.vuepress/config.js#L4, for now I just added asm).