-
DescriptionBriefly explain what you're trying to accomplish (e.g., a feature, issue, behavior). What have you triedList out your attempted steps, any snippets of code, or changes you've made so far. Observed behaviorExplain what actually happened—errors, unexpected behaviors, logs, etc. Expected behaviorDescribe how you expected things to work instead. Any relevant informationAdd versions or environment details (e.g., Node version, OS, dependencies). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.