wml::std::case(3)

πŸ“¦
version 2.32.0 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing

πŸ’… wml::std::case β€” bestie edition

ok so this is wml::std::case(3), part of the EN Tools manual set. no cap, it's a tiny one but it's lowkey iconic. let's go πŸ¦‹


✨ NAME ✨

wml::std::case β€” literally just: Convert Tags to Upper or Lower Case πŸ’–


🌸 SYNOPSIS 🌸

#use wml::std::case [global={upper,lower}]

<case:upper>
...
</case:upper>

<case:lower>
...
</case:lower>

πŸŽ€ DESCRIPTION πŸŽ€

ok so the <case:upper> and <case:lower> container tags do exactly what they say on the tin: they take all the HTML tags in their body and convert them either to upper case or lower case. the way that works is so satisfying honestly πŸ’…

but wait, there's a useful variant β€” and it's giving main character energy ✨ β€” if you add the global attribute while loading this include file, you get a global case conversion, i.e.:

#use wml::std::case global=upper

...just converts all HTML tags of the finally generated page to upper case. one line. whole page. slay πŸ‘‘

🫢 lil behind-the-scenes tea: internally this include file uses the <tagconv> container tag provided by HTMLfix (pass 7). iykyk 🧚

πŸ’œ AUTHOR πŸ’œ

  • Ralf S. Engelschall
  • rse@engelschall.com
  • www.engelschall.com

(king behaviour, fr fr πŸ‘‘)


🌈 REQUIRES 🌈

  • Internal: P1, P5, P6
  • External: --

⭐ SEE ALSO ⭐

  • wml_p7_htmlfix(3).

and that's the whole vibe check, bestie πŸŽ€ this page is from EN Tools, dated 2020-11-29 β€” mwah, go convert some tags, you're gonna eat πŸ’–βœ¨πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from