We're hiring!
*

Syntax Highlighting Tests

<a href=Jon Wallace avatar" class="blogAuthor"/>

Jon Wallace
May 29, 2025

Share this post:

Reading time:

This is a test post to look at the Syntax Highlighting extra.

 

pre class="brush: php; toolbar: false; gutter: true; highlight: [2,3];"

<?php
function modify($x, $y) {
   $x = $x * 3;
   $y = $y + 2;
   return $x + $y;
}

 

pre class="brush: html; toolbar: false; gutter: true;"

<html>
<p>This is a paragraph</p>
<h1 style="font-size: 20px;">This is an H1</h1>
<ul>
<li>Bullet</li>
<li class="bulet2">Bullet 2</li>
</ul>
</html>

pre class="brush: css; toolbar: false; gutter: true;"

.selector1 { font-size: 40px; color: red; }
.selector2 {
font-weight: bold;
padding: 0 100px 40px 0px;
margin-right: 100px;
}
#selector3 { display: none; }

pre class="brush: css; toolbar: false; gutter: false;"

.selector1 { font-size: 40px; color: red; }
.selector2 {
font-weight: bold;
padding: 0 100px 40px 0px;
margin-right: 100px;
}
#selector3 { display: none; }

Related Posts

Related Posts

Comments (0)


Add a Comment






Allowed tags: <b><i><br>Add a new comment:


Search the newsroom

Latest Blog Posts

Syntax Highlighting Tests

29/05/2025

test post

03/12/2024

this is a test post

Mesa CI and the power of pre-merge testing

08/10/2024

Having multiple developers work on pre-merge testing distributes the process and ensures that every contribution is rigorously tested before…

A shifty tale about unit testing with Maxwell, NVK's backend compiler

15/08/2024

After rigorous debugging, a new unit testing framework was added to the backend compiler for NVK. This is a walkthrough of the steps taken…

A journey towards reliable testing in the Linux Kernel

01/08/2024

We're reflecting on the steps taken as we continually seek to improve Linux kernel integration. This will include more detail about the…

Building a Board Farm for Embedded World

27/06/2024

With each board running a mainline-first Linux software stack and tested in a CI loop with the LAVA test framework, the Farm showcased Collabora's…

Open Since 2005 logo

Our website only uses a strictly necessary session cookie provided by our CMS system. To find out more please follow this link.

Collabora Limited © 2005-2025. All rights reserved. Privacy Notice. Sitemap.