-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Orgmode has a few keywords you can specify for an image and they are #+NAME, #+CAPTION, and #+ATTR_. Using Uniorg the attr values come through when I specify ATTR_HTML (I believe this is the correct behavior). But I am not sure how to access the name or caption. For reference, I'm using AstroJS and I am overwriting img tags in my Content by specifying a replacement in the components lookup attribute.
When an image is processed the props provided include anything set in the ATTR_HTML and then the src data, so filepath, format, and dimensions. I see that the parser captures these but I'm not sure if I'm doing something wrong or if they're not being passed through for further processing. https://github.com/rasendubi/uniorg/blob/cb0709da1478d92b26391e288d1133cf959e2ff7/packages/uniorg-parse/src/parser.ts#L2162C2-L2162C2