Lurker News

Comments (265) 53 threads

Show all comments

Showing thread 35 of 53

webwanderings1 reply#
This is cool. Exactly what I was looking for not too long ago (sometimes markdown does not fit all the needs for documentation).

How about images? How do you handle images; their layout, scaling etc?

abhinav22#
Basically you can use CSS to manage their layout - dimensions, positioning, scaling, etc. Should work pretty well

If you want floating images (e.g. text on the left, images on the right), it may be a bit more difficult and not perfectly possible. This guide will help: https://www.pagedjs.org/page-floats/
One tricky part is if you want to have text within images and have them the same size as your main text (eg in MS Word where you can have shapes and text boxes). For that, you can probably get close enough with a simple image load, and more precise by using svg graphics, but it may result in a reasonable amount of complexity to make perfect (if at all).
For charts, use charts.js in my opinion.