Skip to content

Commit b3e9f30

Browse files
committed
docs: highlight prisma
1 parent 0cc3a03 commit b3e9f30

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A comprehensive library for [fractional indexing](https://www.figma.com/blog/rea
88

99
## Quick Start
1010

11-
```bash
11+
```shell
1212
# Install the package
1313
npm install fraci
1414
```
@@ -117,7 +117,7 @@ Run `bun run build-examples` to see the bundle sizes for each example.
117117

118118
## Installation
119119

120-
```bash
120+
```shell
121121
npm install fraci
122122

123123
# or
@@ -480,15 +480,15 @@ async function remove() {
480480

481481
Fractional indexing allows for inserting items between existing items without reindexing:
482482

483-
```plaintext
483+
```text
484484
A (index: "a") --- B (index: "c")
485485
|
486486
+--- New Item (index: "b")
487487
```
488488

489489
When you need to insert between A and B, fraci generates a new index that sorts lexicographically between them. If you need to insert between A and the new item:
490490

491-
```plaintext
491+
```text
492492
A (index: "a") --- New Item (index: "b") --- B (index: "c")
493493
|
494494
+--- Another Item (index: "a5")

typedoc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,11 @@
55
"./src/drizzle.ts",
66
"./src/prisma.ts"
77
],
8-
"out": "typedoc"
8+
"out": "typedoc",
9+
"highlightLanguages": [
10+
"prisma",
11+
"shell",
12+
"text",
13+
"typescript"
14+
]
915
}

0 commit comments

Comments
 (0)