Toot

Written by Artyom Bologov (t?he(y|m)?) on 2024-12-23 at 21:04

I'm thinking on some valid subset of #HTML that would look fine when displayed as-is, but can be preprocessed and enriched into something else. One of the elements I already implemented is captioned block:

auto var = 3;

</pre caption for this block>

that turns into

auto var = 3;

The magic here is that both forms are valid HTML, so I can preview both of these in the browser, and it will mostly be similar!

The goal is to have as many of these vanilla-looking elements. Elements that are progressively expanded to more complex and useful entities in my build scripts. But it will certainly take some time to come up with smart ways to exploit HTML for this.

[#]theWorkshop

=> More informations about this toot | View the thread | More toots from aartaka@merveilles.town

Mentions

Tags

=> View theworkshop tag | View html tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113704163340186326
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
226.188438 milliseconds
Gemini-to-HTML Time
0.644776 milliseconds

This content has been proxied by September (ba2dc).