◆ [Date updated: 2023/03/06(Mon) 22:20:54]
■I made a userscript that adds a button that formats your post with line breaks! ヽ(´∇`)ノ
│https://greasyfork.org/en/scripts/461325-ayashii-breaker
│
├■User: kaguya
│ Thank you!!! ヽ(´ー`)ノ
│ After you look into breaking in middle of words, I will add it on
│ the template then.
│
│ Maybe with such a tool, we can gradually remove the CSS that breaks
│ the lines on smaller displays for the sake of big AA and adhering
│ to original Ayashii World sites ( ´ω`)
│
└■This is awesome, arigatou! ヽ(´∇`)ノ
│
│I've modified it for myself so it limits to 72 characters, but is there
│a way I can disable the hyphenation? It's a little aggressive as is,
│and I prefer to do it manually since there's a lot of little rules for
│proper hyphenation that go beyond the scope of a simple script (;^Д^)
│
│https://english.stackexchange.com/questions/385/what-are-the-rules-for-splitting-words-at-the-end-of-a-line
│
└■Sure, just get rid of lines 27-29. Also wow, I didn't know how complicated hyphenation rules were (;゚∀゚)
│
└■Hmm, it still seems to break in the middle of words, just without the
│hyphens. I think it would maek moar sense to break after the nearest
│space before the end of the line, which is how I manually do it
│
└■Oh yea. I can make it do that, I'll try getting to it later today
│
└■Done! ヽ(´∇`)ノ
│Reinstall through here and it should work. Also changed the default maximum length to 80 characters.
│https://greasyfork.org/en/scripts/461325-ayashii-breaker
│
└■
│
│Awesoem!
│
│However, when I test it, the line lengths seem inconsistant - perhaps
│it's not including spaces in the character count or something. I'm able
│to get lines as long as 162ch using "a a a a a [...]" (´~`)
│
└■Ah, I think I know the problem.
It's not counting the spaces in-between the words for the line length (;゚∀゚)
I'm busy at the moment, but when I have time I'll fix that
Return