-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent behavior when including code snippets in an alert #183
Comments
I'll have a look! Which version of Hugo are you using? The 0.60 versions and up use a different Markdown processor (Goldmark) which is mildly less weird than Blackfriday. |
Thanks @LisaFC! We're running a version of Hugo prior to 0.6.0, so I'll experiment with updating and report back if that fixes the behavior. |
Be aware that it may break other things! :) https://www.docsy.dev/docs/adding-content/content/#page-contents-and-markup There's also a rogue div that may appear on your landing page depending on how much customization you did, which you can just delete: #174 |
Thanks again, that all helped! To update you on the original issue, I've tried updating Hugo, Docsy, and enabling HTML in Markdown. The site is generally looking as expected. I can still see the strange behavior in the description for this issue: If you want to see it, you can search for the following string on that page:
Not a big issue but worth reporting :) |
Ok! Let's see if I can figure it out.... |
This sounds like it might be the cause: gohugoio/hugo#5831 (comment) |
Closing as looks like this was fixed in Hugo. |
Currently, when we include a code snippet in an alert we see inconsistent behavior:
Results in the back ticks displaying in the rendered HTML.
Results in the code snippet rendering correctly (even though the command isn't really indented).
For screenshots, see AcademySoftwareFoundation/opencue.io#147
The text was updated successfully, but these errors were encountered: