Open AnonDev1312 opened 1 year ago
What is the correct way to display more than 1 code block?
If I try to use Highlighter on multiple code blocks on the same page, only the last one will get the CSS style.
I think this is because the element ID jsonFormatterParsed is re-used by multiple elements, but I can't find how to use a different ID
thanks
Could you provide a code example?
What is the correct way to display more than 1 code block?
If I try to use Highlighter on multiple code blocks on the same page, only the last one will get the CSS style.
I think this is because the element ID jsonFormatterParsed is re-used by multiple elements, but I can't find how to use a different ID
thanks