HTML/PHP code block

Asked

Viewed 48 times

0

I have an HTML page, and I would like to add a block with code in some language, so that it looks aesthetically beautiful as if it were in the code editor. I know the tag <pre></pre> is used more or less for this.

what I really wanted was some plugin, or something like that: inserir a descrição da imagem aqui

  • 1

    Try using https://github.com/google/code-prettify

  • It was just that term I was looking for "code prettify".

1 answer

0


I know a plugin in js that meets your need preCode.js

Browser other questions tagged

You are not signed in. Login or sign up in order to post.