Skip to content
Discussion options

You must be logged in to vote

Hi! Yokai doesn’t yet have a formal plugin system, but you can absolutely inject your own parser by modifying the parser/index.ts file.

Here’s a quick outline:

Create a new file under src/parsers/CustomParser.ts.

Export a function similar to the built-in ones.

In index.ts, manually import and register it in the parsers list.

You can pattern your code after how YamlParser is implemented.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dev-fu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants