Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose default handlers and an API to provide custom ones #40

Open
coreyjv opened this issue Aug 8, 2024 · 1 comment
Open

Expose default handlers and an API to provide custom ones #40

coreyjv opened this issue Aug 8, 2024 · 1 comment

Comments

@coreyjv
Copy link

coreyjv commented Aug 8, 2024

I recently wrote my own code to convert from ADF to an MDAST-like structure. I discovered this utility and I was eager to use it. However, I discovered that this utility doesn't expose an API to provide custom handlers similar to mdast-util-to-markdown.

A capability like this would let me implement custom transformations for existing elements that I need to behave differently or implement transformations for ones that are "skipped" in this implementation.

Thanks!

@andreasknoepfle
Copy link
Member

Hey @coreyjv. We are happily accepting contributions. Since we are mainly using this lib ourselves in https://github.com/bitcrowd/tickety-tick I doubt that we will have any time & effort spent on this any time soon (could be but I can't promise anything), since there it is not really a usecase for us to have this in tickety-tick. But if you want to get started on it we would most likely support you in adding such an API for custom transformations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants