Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/treetrek.git
render/LanguageDefinitions.php
'markdown' => [
'comment' => '/(```[\s\S]*?```|~~~[\s\S]*?~~~)/',
- 'code' => '/^( .+)$/m',
'keyword' => '/^(#{1,6})(?=\s)/m',
'string' => '/(\*\*[^\n*]+\*\*|__[^\n_]+__)/',
'attribute' => '/(?<!\*)(\*[^\n*]+\*)(?!\*)|(?<!_)(_[^\n_]+_)(?!_)/',
'function' => '/(`[^`\n]+`)/',
'variable' => '/(\[[^\]]+\]\([^\)]+\))/',
'operator' => '/^(\s*[-*+](?=\s)|\s*\d+\.(?=\s))/m',
],
'rmd' => [
'comment' => '/(```\{r[^\}]*\}[\s\S]*?```)/',
- 'code' => '/^( .+)$/m',
'keyword' => '/^(#{1,6})(?=\s)/m',
'string' => '/(\*\*[^\n*]+\*\*|__[^\n_]+__)/',
repo.css
}
-.hl-code {
- color: #78dce8;
-}
-

Fixes markdown syntax highlighting

Author Dave Jarvis <email>
Date 2026-02-14 21:02:02 GMT-0800
Commit 11910dc0a898bd9aa14b6496a4af6d9275646e6a
Parent 84b30ab
Delta 0 lines added, 6 lines removed, 6-line decrease