feat: add Journal server documentation to DocDialog

Introduce a new documentation set for Journal server functionality,
including a dropdown selector in the DocDialog to switch between
"directives" and "journal" documentation modes.
This commit is contained in:
2026-07-07 23:57:31 +08:00
parent 1ef41f04fc
commit c10b088fb1
5 changed files with 265 additions and 6 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ function tableToCSV(headers: string[], rows: string[][]): string {
}
/** Spark table: first column header is a pure dice formula (d6, d20, etc.) */
const SPARK_DICE_RE = /^d\d+$/i;
const SPARK_DICE_RE = /^\d*d\d+$/i;
export default function markedTable(): MarkedExtension {
return {