highlight icon indicating copy to clipboard operation
highlight copied to clipboard

🎨 Fast, extensible, server-side code highlighting for web and terminal

Results 33 highlight issues
Sort by recently updated
recently updated
newest added

Using tempest/highlight 2.10.2, the following piece of code results in a fatal error: ```php

bug

```php 27 try { 28 $this->pdo 29 ->prepare($query->getSql()) 30 ->execute($bindings); 31 } catch (PDOException $pdoException) { 32 throw new QueryException($query, $bindings, $pdoException); < 33 } ```

### Tempest version 2.11.4 ### PHP version 8.4 ### Operating system Linux ### Description Consider this HTML: ```html ``` This library only highlights the attribute "class". ```html &lt;img class=&quot;a&quot; alt...

### Description XML should probably support colons in tag names and attributes for namespaces. ### Benefits XML highlighting will work with namespaces, it's also a super easy addition.

```php public function add(mixed $value): static { return $this->createOrModify(namespace\push($this->value, $value)); } ```

The [Ellison demo](https://tempestphp.com/ellison) linked from the docs is currently broken. Any content which is submitted returns a 500 response. ![Image](https://github.com/user-attachments/assets/bde39c84-033f-4b59-9ce1-00d14326e715)

### Environment: - OS: MacOS Sequoia - PHP version: 8.3 ### What happens: When there is a function with a parameter in the code surrounded by custom classes tag, I...

bug