Skip to content

Commit d856cd4

Browse files
author
Johannes Lichtenberger
committed
fix: add xquery syntax highlighting to use-cases code blocks
The two JSONiq code snippets used bare triple-backtick fences without a language identifier, so Rouge produced no syntax highlighting. Add xquery language tag matching the convention used in all other docs.
1 parent 287dc72 commit d856cd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/use-cases.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Financial institutions must answer questions like: *"What did we know about this
2727

2828
With SirixDB, this is a single bitemporal query. Without it, teams build shadow audit tables, change-data-capture pipelines, and custom versioning layers — fragile infrastructure that is expensive to maintain and inevitably incomplete.
2929

30-
```
30+
```xquery
3131
(: What was the recorded risk exposure on March 1st,
3232
as our system understood it on March 15th? :)
3333
jn:open('risk-db','exposures', xs:dateTime('2025-03-15T00:00:00'))
@@ -90,7 +90,7 @@ With SirixDB, this is a single temporal read transaction. Without it, legal team
9090

9191
Fraudsters manipulate records and hope the original state is lost. Bitemporality makes this detectable: you can identify that a transaction claiming to be from January was only recorded in March by comparing valid time against transaction time.
9292

93-
```
93+
```xquery
9494
(: Find records where valid-time was backdated
9595
more than 7 days before transaction-time :)
9696
jn:all-times(jn:open('ledger','transactions'))

0 commit comments

Comments
 (0)