[WikiCaretakers] Insert screenshots cleanly
Johannes Zarl-Zierl
jzarl at fsfe.org
Tue Sep 19 22:17:29 CEST 2017
Hi Carmen,
On Dienstag, 19. September 2017 12:54:02 CEST Carmen Bianca Bakker wrote:
> I am busy writing a workflow guide for Git. I want to add some
> screenshots to accompany that guide, for those who want. But I am
> struggling with getting moin to display it all neatly.
>
> See http://wiki.fsfe.org/TechDocs/Git/Guide%3AWorkflow
The current css formats all images as floats, which causes the problem that
you are seeing.
A workaround for now is to add a horizontal line (or any object that clears
floats) after the image:
[[attachment:clone.png|{{attachment:clone.png||width=200}}]]
-------
Another workaround is to wrap the image block in a pagebox environment:
{{{#!wiki pagebox
[[attachment:clone.png|{{attachment:clone.png||width=200}}]]
}}}
> Ideally I want the images to be _between_ the paragraphs, not next to
> them. Or something else that doesn't look bad, really.
>
> Does someone have any suggestions?
@Paul: I think we discussed the issue some time ago. Is there some better
solution? Maybe we could introduce another alignment option for images?
E.g.: {{attachment:clone.png|screenshot of git clone|align=block}}
Cheers,
Johannes
--
Johannes Zarl-Zierl
FSFE local group Linz, Team Austria
https://wiki.fsfe.org/LocalGroups/Linz_en/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.fsfe.org/pipermail/wikicaretakers/attachments/20170919/eb4820e1/attachment.pgp>
More information about the WikiCaretakers
mailing list