feat: add syntax highlighting

This commit is contained in:
kwaroran
2024-05-26 08:15:45 +09:00
parent 9e9f23b209
commit 93cba968b5
12 changed files with 402 additions and 58 deletions

View File

@@ -333,6 +333,9 @@ export function characterFormatUpdate(index:number|character){
model: '',
language: 'en'
}
cha.backgroundHTML ??= ''
cha.backgroundCSS ??= ''
cha.creation_date ??= Date.now()
if(!cha.newGenData){
cha = updateInlayScreen(cha)
}