zlacker

[return to "ASCII porn predates the Internet but it's still everywhere (2019)"]
1. zootbo+ot8[view] [source] 2025-01-02 05:33:48
>>Bluest+(OP)
It's kind of funny that every example the article shows is a screenshot or video. Not a single one was actual ASCII text in the HTML...
◧◩
2. califo+gw8[view] [source] 2025-01-02 06:10:58
>>zootbo+ot8
It's not trivial to display ASCII art as text in html. There's so many ways to mess it up that unless the site is dedicated to ASCII art, a simple image is really preferable.
◧◩◪
3. Groxx+Yx8[view] [source] 2025-01-02 06:33:22
>>califo+gw8
<pre> works pretty reliably
◧◩◪◨
4. califo+QB8[view] [source] 2025-01-02 07:25:50
>>Groxx+Yx8
For whitespace and for the simplest ASCII sure, but for anything a bit more complex you might have problems with

1. HTML reserved characters like < > and \.

2. overflowing content

3. displaying ASCII made with special encodings and characters sets, like code page 437

4. displaying nonprintable (control) characters

5. displaying colors

6. text preprocessors messing up the formatting

◧◩◪◨⬒
5. pastag+qG8[view] [source] 2025-01-02 08:37:10
>>califo+QB8
the Virtual terminal[1] from Asciinema[2] is what I use but that is a lot more difficult than just including a video of it. I got CMS from a very expensive CMS to support Asciinema but it was actually too much effort to be worth it I had to recompile some components make a editor interface etc etc.

[1]https://github.com/asciinema/avt

[2]https://docs.asciinema.org/how-it-works/

◧◩◪◨⬒⬓
6. 0xDEAD+nP8[view] [source] 2025-01-02 10:32:41
>>pastag+qG8
check out my website:

https://terminoid.com/discover/

i still need to add seeking and stuff, but it works. like asciinema but based on xterm.js

[go to top]