Skip to content

How to properly add a customized language for vitepress 1.6.3? #5060

@alephpi

Description

@alephpi

I'm working with afdko, a script language used in font design, which has a textmate syntax file defined here.

I use npx plist-to-json opentype.fea.tmLanguage > opentype.fea.tmLanguage.json to get the .json file which can be consumed by shiki.

However, I don't know how to use it within vitepress. I find an example here, but it is out-dated. The current documentation points me here but is not very understandable, especially what should I specify as repository and patterns?

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions