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

Custom annotation metadata based on element attribute #88

Open
probavee opened this issue Aug 27, 2024 · 1 comment
Open

Custom annotation metadata based on element attribute #88

probavee opened this issue Aug 27, 2024 · 1 comment

Comments

@probavee
Copy link

Hi, thank you for this library !
Is there a way to add whatever we want to the metadata in annotations ?
For instance i'd like to annotate HTML like so:

[(0, 10, {"name":"a", "href":"http://example.com"}),
(10, 11, {"name":"img", "alt":"my alternative text"}), ... ]

However, I haven’t yet found a straightforward way to achieve this with the current functionality of the library. Do you have any insights or suggestions on this?

@caineblood
Copy link

The above comment asking you to download a file is malware to steal your account; do not under any circumstances download or run it. The post needs to be removed. If you have attempted to run it please have your system cleaned and your account secured immediately.

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