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

Using Asciidoc callouts for screenshots? #8

Open
unfa opened this issue May 10, 2018 · 3 comments
Open

Using Asciidoc callouts for screenshots? #8

unfa opened this issue May 10, 2018 · 3 comments

Comments

@unfa
Copy link
Collaborator

unfa commented May 10, 2018

I've found a feature called callouts:

https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#source-code

image

I wonder if we could use this for screenshots?
I guess we could reskin it with a custom CSS file to suit our look later.
This could make annotating screenshots much easier and less destructive.

@fundamental
Copy link
Member

fundamental commented May 12, 2018 via email

@unfa
Copy link
Collaborator Author

unfa commented May 12, 2018

I think they would be great as they would provide uniform and skinnable way of annotating different parts of a screenshot, however I have no idea how to place these callouts on an image within an document.

@MathieuR-Iolas
Copy link

Looking for a way to reuse screenshots with differents highlithings, I found your post. And this link to an aspect of SVG that could be usefull : Other content in SVG

I'm still testing it in real use cases (using Inkscape), but 'wrapping' a screenshot into an SVG file, that can be rendered by asciidoctor could be a kind of workarround to this problematic (no image edit, just add elements in svg, one screenshot can be used multiple times in differents svg files).

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