Visit UNICEF Global
Code highlighting can be used with the Hugo highlight function. The highlight function uses the Chroma syntax highlighter, supporting over 200 languages with more than 40 available styles.
highlight
See an HTML example below:
1<head> 2 <meta charset="utf-8"> 3 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 4 <meta name="viewport" content="width=device-width, initial-scale=1"> 5 <link rel="stylesheet" href="/assets/css/main.css"> 6 <link rel="shortcut icon" type="image/png" href="/assets/img/favicon.png" > 7 <script src="/assets/js/main.js"></script> 8</head>
Updated on 03 Oct 2022
Call out specific information and details in an article using an admonition.
Identify the author and author contact information of a page.