You've already forked obsidian-visualiser
Character creation implementation. People and training ready, still need to work on abilities and spells
This commit is contained in:
2817
shared/character-config.json
Normal file
2817
shared/character-config.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -18,6 +18,7 @@ export function parsePath(path: string): string
|
||||
}
|
||||
export function parseId(id: string | undefined): string |undefined
|
||||
{
|
||||
return id;
|
||||
return id?.normalize('NFD')?.replace(/[\u0300-\u036f]/g, '')?.replace(/^\d\. */g, '')?.replace(/\s/g, "-")?.replace(/%/g, "-percent")?.replace(/\?/g, "-q")?.toLowerCase();
|
||||
}
|
||||
export function padLeft(text: string, pad: string, length: number): string
|
||||
|
||||
2723
shared/test.ts
Normal file
2723
shared/test.ts
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user