Closed homersimpsons closed 1 month ago
@homersimpsons good catch!
We use a custom-made parser which makes use of some PHP highlighter to produce the final results. So, this kind of bugs need to be fixed in that other project.
I've created an issue using your information: https://github.com/symfony-tools/docs-builder/issues/177
So, let's close this one in favor of the other repository issue. Thanks!
Reading the yaml documentation in https://symfony.com/doc/current/components/yaml.html#numeric-literals we can see the following code block:
Here, the numbers are all formatted as strings, except for the
3.
for theparameters.pi
property.The correct rendering should be:
This may be a highlightjs issue (it looks like this project is using this library).
Libraries:
parameters.pi
, but highlight the other properties as "string"