You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`chef-snippet` will throw an error if the syntax grammar rules for the language are unavailable.
Instead, this commit modifies the code highlighter to fallback to rendering code blocks as uncolored plain text in this scenario.
PrismJS/prism#344 (comment)Fixes#3462
Signed-off-by: Scott Christopherson <[email protected]>
`chef-snippet` will throw an error if the syntax grammar rules for the language are unavailable.
Instead, this commit modifies the code highlighter to fallback to rendering code blocks as uncolored plain text in this scenario.
PrismJS/prism#344 (comment)Fixes#3462
Signed-off-by: Scott Christopherson <[email protected]>
`chef-snippet` will throw an error if the syntax grammar rules for the language are unavailable.
Instead, this commit modifies the code highlighter to fallback to rendering code blocks as uncolored plain text in this scenario.
PrismJS/prism#344 (comment)Fixes#3462
Signed-off-by: Scott Christopherson <[email protected]>
Describe the bug
I have used
chef-markdown
component to show cookbook detail README file which gives console errorsTo Reproduce
Steps to reproduce the behavior:
git fetch origin Sachin/infra-cookbook-details
build components/automate-ui
Chef Servers
option which is underInfrastructure
tab and its underChef-Server
feature flag.Expected behavior
Should not be any errors in browser console.
Screenshots
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: