It would be nice if images are rendered as images instead of links. This should be easily done be adding some switch case here:
https://code.rocketnine.space/tslocum/gmitohtml/src/branch/master/pkg/gmitohtml/convert.go#L129-L134
Is there a reason not to do this?
f
changed title from Render images as images to Render images as images instead of links2 years ago
I created a PR for that. But I am not sure what exactly happened here: The binary (iamges) data will be put inside a HTML template. Maybe binary files are note supported yet? If I got some free time, I will dig into it.
I created a PR for that. But I am not sure what exactly happened here: The binary (iamges) data will be put inside a HTML template. Maybe binary files are note supported yet? If I got some free time, I will dig into it.
It would be nice if images are rendered as images instead of links. This should be easily done be adding some switch case here:
https://code.rocketnine.space/tslocum/gmitohtml/src/branch/master/pkg/gmitohtml/convert.go#L129-L134
Is there a reason not to do this?
Render images as imagesto Render images as images instead of links 2 years agoI think this would be a nice opt-in feature.
I created a PR for that. But I am not sure what exactly happened here: The binary (iamges) data will be put inside a HTML template. Maybe binary files are note supported yet? If I got some free time, I will dig into it.