forked from asciidoctor/asciidoctor-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolves asciidoctor#76 allow fine-grained control over image width
- default to native image width scaled by 75% by default - allow explicit width to be set using pdfwidth attribute - enforce max width of 100%, except for pdfwidth or scaledwidth - make alt text a link if image cannot be resolved and link attribute is present - align alt text to honor image alignment - add helper methods to convert to pt from string or number - don't advance to new page if already at top of page - code cleanups and optimizations
- Loading branch information
1 parent
f3a5653
commit 282e6cf
Showing
3 changed files
with
88 additions
and
50 deletions.
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