-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support specifying the image width in #+ATTR_HTML
Known issue as of Hugo v0.30: The Hugo figure shortcode does not support specifying the height parameter! So ox-hugo will support only the width parameter for now. figure shortcode in Hugo source: https://github.com/gohugoio/hugo/blob/b6f2e3b4382de83479bfcf91321b7ee3a758b141/tpl/tplimpl/template_embedded.go#L22-L37 https://discourse.gohugo.io/t/can-i-find-out-the-image-size/2196/12?u=kaushalmodi
- Loading branch information
1 parent
d330e16
commit 4a476d9
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters