Improve the generated POD output from PGbasicmacros.pl. #2
+9
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This doesn't change the wording at all. It just changes the formatting of the generated html POD output.
Note: Don't use comments in POD. POD is not Perl code.
Here is what the POD looks like with the current code:
Macros for displaying images
Here is what the POD looks like with these changes:
Macros for displaying images
Usage:
where
$image
can be a local file path or URL,width
andheight
are pixel counts for HTML display, whiletex_size
is per 1000 applied to linewidth (for example 800 leads to 0.8\linewidth)this produces an array in array context and joins the elements with
' '
in scalar context