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

ASTNode interface in declaration file lacks a few properties #130

Closed
zecakeh opened this issue Dec 22, 2020 · 1 comment
Closed

ASTNode interface in declaration file lacks a few properties #130

zecakeh opened this issue Dec 22, 2020 · 1 comment

Comments

@zecakeh
Copy link

zecakeh commented Dec 22, 2020

I'm mainly thinking of sourceMeta that allows Markdown-it plugins to add extra data.

Right now we can use attributes to pass extra data to the render rules, but if we want to reuse the plugin with an HTML renderer, the data shows up on the HTML elements.

Is it an oversight or is there a reason to this?

@ahkhanjani
Copy link

Added in #132.

@iamacup iamacup closed this as completed Dec 11, 2023
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

3 participants