Error when adding code snipped with syntax highlighting (structured text / vue)

when I add a code snippet with syntax highlighting using structured text, an error occurs while rendering the page (using <datocms-structured-text /> component). Everything works perfectly fine with any other allowed blocks/formatting. Am I missing something / doing something wrong?

Thank you.!


hi @simone , can you please write to with these details:

  • your datocms project name
  • the url of datocms record containing the structured text field with the code snippet
  • the url of your website page where the structured text is rendered (if it’s a public website)

Thank you!

Just un update for everyone stumbling upon here: updating vue-datocms package (0.2.4 at the time of writing) should fix this problem!