Talked with @jaffathecake about the possibility of an HTML `<include>`.
Why doesn't it exist? Could it exist? *Should* it exist?
I'm a little obsessed with this.
Talked with @jaffathecake about the possibility of an HTML `<include>`.
Why doesn't it exist? Could it exist? *Should* it exist?
I'm a little obsessed with this.
@jaffathecake @chriscoyier that's fine. We've had at least a decade to design it.
🦗🦗🦗
@chriscoyier @jaffathecake The templating system I built uses exactly those semantics, literally an <include> tag 😀 https://rooseveltframework.org/docs/teddy/latest/usage/#includes
In fact the entire design philosophy of that templating system is to create tags that I wished existed in HTML natively.
That <include> tag implementation reflects the conversation you had on the podcast to some degree: it requires a complete tree and to use it you pass markup fragments to it as arguments.