Compare commits

..

No commits in common. "f736b7309eb29c0cab576f01768609c4b721192a" and "ae9c3aa59bfcbb2a62b06a0bf8c520a8b217de64" have entirely different histories.

3 changed files with 2 additions and 5 deletions

View File

@ -5,7 +5,6 @@ tag: md-deck
body: ./npcs.csv
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]
> Highlights information that users should take into account, even when skimming.

View File

@ -1,2 +0,0 @@
name1,name2,num1,num2
balhe,bler,1,2
1 name1 name2 num1 num2
2 balhe bler 1 2

View File

@ -20,8 +20,8 @@ export function parseLayers(layersStr: string): Layer[] {
y1: parseInt(match[3]),
x2: parseInt(match[4]),
y2: parseInt(match[5]),
fontSize: match[6] ? parseFloat(match[6]) : undefined,
orientation: match[7] as 'n' | 's' | 'e' | 'w' | undefined
fontSize: match[7] ? parseFloat(match[7]) : undefined,
orientation: match[8] as 'n' | 's' | 'e' | 'w' | undefined
});
}