Compare commits
No commits in common. "f736b7309eb29c0cab576f01768609c4b721192a" and "ae9c3aa59bfcbb2a62b06a0bf8c520a8b217de64" have entirely different histories.
f736b7309e
...
ae9c3aa59b
|
|
@ -5,7 +5,6 @@ tag: md-deck
|
||||||
body: ./npcs.csv
|
body: ./npcs.csv
|
||||||
layers: body:1,6-5,8
|
layers: body:1,6-5,8
|
||||||
```
|
```
|
||||||
:md-deck[./names.csv]{size="54x86" grid="5x8" bleed="1" padding="2" layers="name1:1,1-2,2f12 name2:4,7-5,8f12s num1:1,3-2,4f12 num2:4,5-5,6f12s"}
|
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> Highlights information that users should take into account, even when skimming.
|
> Highlights information that users should take into account, even when skimming.
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
name1,name2,num1,num2
|
|
||||||
balhe,bler,1,2
|
|
||||||
|
|
|
@ -20,8 +20,8 @@ export function parseLayers(layersStr: string): Layer[] {
|
||||||
y1: parseInt(match[3]),
|
y1: parseInt(match[3]),
|
||||||
x2: parseInt(match[4]),
|
x2: parseInt(match[4]),
|
||||||
y2: parseInt(match[5]),
|
y2: parseInt(match[5]),
|
||||||
fontSize: match[6] ? parseFloat(match[6]) : undefined,
|
fontSize: match[7] ? parseFloat(match[7]) : undefined,
|
||||||
orientation: match[7] as 'n' | 's' | 'e' | 'w' | undefined
|
orientation: match[8] as 'n' | 's' | 'e' | 'w' | undefined
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue