Forum Discussion
RockyLittle-297
5 years agoCommunity Member
Color Syntax Highlighter for Code Snippet
Hi all, I love the Code Snippet Feature as it allows learners to copy and paste the code. One thing that would be super helpful is if there was a way to show the colors syntax highlighter for readab...
ArtemP
5 years agoCommunity Member
Hi.
You can use an embedded iframe with highlighted code. Just build a simple web page and host it anywhere (for example github or aws).
It works well, but you have to embed it as an iframe, not as a link.
Below is a simple example
https://360.articulate.com/review/content/23d6cc2f-8288-4c8a-a291-7a7c10b85e77/review
- JhonatanKana5564 years agoCommunity Member
Hi Artem, thanks for the tip. Do you know how to make it smaller for shot code like?
"$ Docker version 20.10.2, build 2291f61"
When i try to embed it shows me a lot of blank space down the text.