Dave Jarvis' Repositories

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

Fixes alignment

Author Dave Jarvis <email>
Date 2026-02-15 13:38:48 GMT-0800
Commit 330f7b6e6516ae02312fceff2808c6d5ea55fabe
Parent c7f8c97
Delta 16 lines added, 16 lines removed