thegeeklab / hugo-geekdoc

Hugo theme made for documentation
https://geekdocs.de
MIT License
511 stars 313 forks source link

Conflict between hint and code block #838

Closed jcs090218 closed 3 months ago

jcs090218 commented 3 months ago

The following

{{< hint ok >}}
πŸ’‘ Optionally, you can use `--show-hidden` to show all available commands and
options!
{{< /hint >}}

will render: 2024-06-06 20 26 34

xoxys commented 3 months ago

Looks like the intended result. Can you describe the conflict more detailed?

jcs090218 commented 3 months ago

The code block's background color in the tip block doesn't respect the tip's background color. πŸ€”

xoxys commented 3 months ago

Its still a code block and its intended highlight them. What would be your suggestion?

jcs090218 commented 3 months ago

If it’s under the tip block, make the background color gray and transparent. That would make the code block look much nicer in the tip block.

xoxys commented 3 months ago

What do you think?

image image

jcs090218 commented 3 months ago

That's awesome! Much better than what I have now! πŸš€