Highlight.js Tutorial - Highlight Syntax on DIV or any element

Highlight.js Tutorial - Highlight Syntax on DIV or any element

Red Stapler

8 лет назад

3,790 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@StefanGnR95
@StefanGnR95 - 11.01.2017 01:51

Nice tutorials, Red ! I have a question about highlighting in a <div> tag. I will highlight some code on my HTML page so i need to use <div> tag. I will also display not so small amount of code so adding <br> tag for every new line isn't so efficient. Do you have any ideas ?

Ответить