ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: StarGeek on December 20, 2024, 11:23:05 AM

Title: Making the example commands easier to read
Post by: StarGeek on December 20, 2024, 11:23:05 AM
One problem I've always had with all the example commands (https://exiftool.org/exiftool_pod.html#READING-EXAMPLES) on the docs page is that they don't stand out too much against the rest of the text.

Would it be possible to highlight them differently, the same way the example commands on the Writing "FileName" and "Directory" tags (https://exiftool.org/filename.html#ex0) are highlighted?
Title: Re: Making the example commands easier to read
Post by: Phil Harvey on December 20, 2024, 11:42:09 AM
Thanks for the suggestion.  I'll look into this, but likely the best I can do is change them to bold type because I don't have full control over the formatting of this page -- it is a pod2html conversion of the exiftool pod documentation.

- Phil
Title: Re: Making the example commands easier to read
Post by: Phil Harvey on December 20, 2024, 03:59:25 PM
I think I have been successful in implementing your suggestion.

It just required changing all of the examples to "code" type, and changing the css "code" style.  The change affected other "code" elements as well, but I think maybe for the best.

Here is the new version (https://exiftool.org/exiftool_pod2.html).

If you like it then I will update the old exiftool_pod.html with this version.

- Phil
Title: Re: Making the example commands easier to read
Post by: StarGeek on December 20, 2024, 04:01:34 PM
Looks good to me! Thanks for looking into this.
Title: Re: Making the example commands easier to read
Post by: Phil Harvey on December 20, 2024, 04:04:57 PM
Great.

I've updated the page with this new look.

Thanks for the suggestion.

- Phil