inscriptis icon indicating copy to clipboard operation
inscriptis copied to clipboard

Custom annotation metadata based on element attribute

Open probavee opened this issue 1 year ago • 1 comments

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?

probavee avatar Aug 27 '24 16:08 probavee

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.

caineblood avatar Aug 27 '24 16:08 caineblood