You can see that it’s converted the multi-line JSON string into a single line, full of newline escapes, which is completely unreadable, and changes the example from being a good example to a bad one.
The strange thing is, the same thing doesn’t seem to happen for a similar official orb.
I inspected the circleci/slack orb source with circleci orb source firstname.lastname@example.org and tried a couple of things based on that:
The new format includes the “examples” folder, in which you explicitly define the examples that are shown on the developer hub. I initially had the feeling that the newline characters are being placed as a result of your examples being auto-generated, but for some reason this wasn’t the case for Mike’s fork of your repository. Perhaps when you explicitly define the examples, this circumvents the issue that causes the newline characters to be added.
Please keep us up to date on whether it happened to be an out-dated CLI or if declaring the examples yourself using new new orb format fixes this!