When I submit what appears to be a bug to github issues I am told only verified bugs can be reported there, and it is suggested I bring up the issue here. How is a bug verified?
FYI, the bug I reported is that the figure shortcode does not center images when class=“center” is specified and .center is defined as needed in a CSS file.
Does the rendered figure element have the class center on it, e.g: <figure class="center> ?
If it does then it clearly not a Hugo bug but an issue with your css or html, neither of which anyone could help you with if you don’t provide any other information.
I provided the details with the github issues submission that was closed because
the bug was not verified. Here is a complete example illustrating the issue,
using hugo-book theme.
Results: The first line using imgcenter shortcode centers the image, but the line
using figure shortcode does not, even though both shortcodes use the same CSS.
Testing was done using Hugo 0.117.0 under Windows (and an older version under
Ubuntu Linux).
No, you didn’t. You posted the same isolated things you did just now.
Enclose code in three backticks like so
``` code goes here
```
And please remove the other formatting from your post – you can still edit it.
As to your questions:
An isolated CSS doesn’t show us (nor anybody) anything.
Nor does isolated MD
In any case: You do not have a Hugo question. Hugo does not maim your CSS.
If you want to resolve your perceived issue, you have to tackle it systematically. A first sensible step would be to look at your HTML in your browser’s developer tools and check which attributes are applied to which elements. Posting isolated pieces of whatever is not systematic.
For the third time: this is not a Hugo issue. Either raise your concerns with the theme author, or raise your CSS questions on Stack Overflow or similar.