FYI You can nest <details> tags within <ul> and vice versa to create a collapsible tree menu without JS or CSS

E.G.
<details>
<summary>Root</summary>
<ul>
<li>
<details>
<summary>Sub</summary>
<ul><li>etc...</li></ul>
</details>
</li>
</ul>
</details>

Testing out the page editor plugin for my blog. This is for static pages like about etc... Not the blog posts, but I may add that functionality later. I still prefer to write my posts in Mousepad with a bit of Markdown and HTML as needed

There's not a single line JavaScript here and only has the bare minimum CSS

Show thread

@cypnk Sweet. Now /that's/ how it's supposed to be done!

Follow

@drwho Thanks! It just occurred to me I actually have to try hard to make something stylish. And trying hard is against my laziness principle 😂 Ironically that made it easier for me to use

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!