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

Graphic Annoations #728

Closed
johanna-einsiedler opened this issue Apr 14, 2021 · 4 comments
Closed

Graphic Annoations #728

johanna-einsiedler opened this issue Apr 14, 2021 · 4 comments

Comments

@johanna-einsiedler
Copy link

Is your feature request related to a problem? Please describe.
Not a real problem, but would be nice if there was a possibility to include graphics in annotations.

Describe the solution you'd like
A way to include a picture in the annotation component. I.e. if the user hovers over a word that a small picture pops up instead of a text like in the standard annotation component.

@mathisonian
Copy link
Member

@jasenlo123 would you be interested in tackling this?

@jasenlo123
Copy link
Contributor

Thanks for bringing this to my attention @mathisonian.

I'll have time to work on this in the next two weeks @johanna-einsiedler. Cheers!

@jasenlo123
Copy link
Contributor

hi @mathisonian, here's the PR that allows for including graphics in annotations!
#730

@mathisonian
Copy link
Member

This is addressed in #730 and available in the latest release. See the updated docs here: https://idyll-lang.org/docs/component/annotation.

The basic usage is updated to:

[Annotation] 
  [Graphic] Anything in here will be shown in the popup. Including, e.g. an image: [Image src:"..." /] [/Graphic]

  Text outside of the graphic tag will be displayed inline. 
[/Annotation]

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

No branches or pull requests

3 participants