Render images as images instead of links #4
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/gmitohtml#4
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
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 linksI 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.