wml::fmt::sdf(3)

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

πŸ’– wml::fmt::sdf πŸ’–

okay bestie, welcome to wml::fmt::sdf β€” it's a page from the EN Tools manual, and it's literally just Simple Document Format (aka SDF) getting folded into your WML setup. yes the name is a whole mouthful, no you don't have to say it out loud 🫢


✨ NAME ✨

wml::fmt::sdf β€” Simple Document Format (SDF). that's the whole vibe, that's the whole name πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

here's how you actually summon it, copy-paste energy fr fr:

#use wml::fmt::sdf

<: print &wml_fmt_sdf({ FILE => $file, ... }); :>

<sdf>
H1: ...
...
H2: ...
...
</sdf>

look at that. so clean. so demure. 😌


🌸 DESCRIPTION 🌸

okay so the usage is simple β€” like, genuinely, no cap. all you gotta do is wrap every last bit of your SDF source text in the "<sdf>" container tag, and then just... write SDF format inside it. exactly the way you'd write it if you were out here making plain SDF documents like a normal person. that's it, that's the whole move πŸ’–

and then the glow-up happens: the corresponding HTML code gets created via SDF's sdf2html filter. so you write the SDF, the filter does the translation, and HTML just appears. iconic behavior honestly πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

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

shoutout to the author, we stan πŸ™Œ


πŸ’œ REQUIRES πŸ’œ

  • Internal: P1, P2, P3
  • External: sdf

gotta have your internal girlies AND your external girlie. both. always. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, iykyk πŸ“š


mwah πŸ’‹ that's the whole page bestie β€” brought to you by EN Tools, dated 2020-11-29, and yes it's giving wml::fmt::sdf(3) main character energy from start to finish. periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from