Highlighting Source Code on a Webpage

Writing about coding or server configuration or anything to deal with source code requires a solution to embed and display the code in your website in a pretty and readable way. Upon trying different options I have found that hilite.me does the job brilliantly! It is web based and free source code highlighter for HTML that does not require external Javascript of CSS files. You just paste your code in the website, select Language from extensive list, select style and press a button to get HTML code to paste into your website – easy and readable. Example below:

<html lang="en-GB">
  <meta charset="UTF-8" />
  <link ref="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="/zp-core/js/jquery.js"></script>

Leave a Reply