>>101790763
>I want STRAIGHT QUOTE MARKS to be CURLY QUOTE MARKS.
This is a very difficult thing to do. Even if I ask Claude (3.5) to use curly quotes, it still gives me straight quotes. Regex would prove difficult as you'd need to run two separate regexes to find each quotations, as even with lookahead you still can't replace both with different curly quotes.
I can imagine a script would be better and STscript w/ regex can do it, but that's horrible language to work with. What I guess could work, as I had sonnet whip this hack up. But you can use CSS to wrap curly quotes around your existing quotes, then have regex remove it all quotations. Horrible solution, a script would be better. But this took me 1 gen to come up with so better then nothing I guess.
/* Replace straight quotes with curly quotes */
q,
blockquote,
.mes_text {
quotes: """ """ "'" "'";
}
q:before,
blockquote:before,
.mes_text q:before {
content: open-quote;
}
q:after,
blockquote:after,
.mes_text q:after {
content: close-quote;
}
/* For nested quotes */
q q:before,
blockquote blockquote:before,
.mes_text q q:before {
content: open-quote;
}
q q:after,
blockquote blockquote:after,
.mes_text q q:after {
content: close-quote;
}
>Regex
>/(")/gis
You're also battling SillyTavern's own CSS. So you'll have to modify it and its font I guess to make it look better. But I assume you've all ready done that.