Display code (HTML, CSS, PHP, JavaScript, jQuery, etc.) on a webpage, just like code is displayed here, in a box, syntax-highlighted

后端 未结 5 1706
不知归路
不知归路 2021-02-20 06:07

I\'d like to display code on a web page. However I\'d like it to keep its spacing and be color coded by syntax.

Please do not respond with:

5条回答
  •  佛祖请我去吃肉
    2021-02-20 06:52

    You can use SyntaxHighlighter.

    Download SyntaxHighlighter.

    The SyntaxHighlighter plugin is also available for WordPress users.

    For details, read this post.

提交回复
热议问题