Jim Winstead on Nostr: Started poking at using https://github.com/phikiphp/phiki for syntax highlighting ...
Started poking at using
https://github.com/phikiphp/phiki for syntax highlighting code snippets on my site. Looks like it will be relatively straightforward to integrate, but I need to handle the exception it throws when there’s a code block in syntax it doesn’t understand (like Caddyfile) and put together a theme file that uses `light-dark()`.
Published at
2024-11-02 23:45:31Event JSON
{
"id": "c277355b2c854d3170380dc3235e97042bc29ab9344c508658d5c11c11d6998b",
"pubkey": "b43b3234094351947af871aee795d8967a2a6ef3b13f5fdfa3e44e9ed92390c1",
"created_at": 1730591131,
"kind": 1,
"tags": [
[
"proxy",
"https://mefi.social/users/jimw/statuses/113416020376547724",
"activitypub"
]
],
"content": "Started poking at using https://github.com/phikiphp/phiki for syntax highlighting code snippets on my site. Looks like it will be relatively straightforward to integrate, but I need to handle the exception it throws when there’s a code block in syntax it doesn’t understand (like Caddyfile) and put together a theme file that uses `light-dark()`.",
"sig": "b0761214577ea20b248c606bea00868251cb8c9c707dac0d0e978ea7823de4c7bbc6aafbf4cc97098a93ad5baaef77bdd56d4f0ff40f3d8a149e891b74554da0"
}