CodeText::Pod(3pm)

πŸ“¦
version 0.3.4 Β· 2 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– CodeText::Pod β€” bestie edition πŸ’–

okay so this is CodeText::Pod(3pm), from the User Contributed Perl Documentation corner of the manual-verse ✨


🌸 NAME 🌸

Tk::CodeText::Pod β€” a Plugin for syntax highlighting of pod files. that's it, that's the vibe πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

require Tk::CodeText::Pod;
my $sh = new Tk::CodeText::Pod([
   ['Text'],
   ['Bold', -font => [-weight => 'bold']],
   ['Italic', -font => [-slant => 'italic']],
   ['Exact', -foreground => 'brown'],
   ['Command', -foreground => 'orange'],
   ['Space', -background => 'beige'],
   ['Tab', -background => 'pale green'],
]);

look at that array. look at those tag definitions. we're literally just lining up styling and letting the plugin cook πŸ“ copy it exactly, no cap.


✨ DESCRIPTION ✨

Tk::CodeText::Pod is a plugin module β€” and the way that it provides syntax highlighting for pod files to a Tk::CodeText text widget?? iconic, honestly. πŸ’–

It inherits Tk::CodeText::Template. See also there πŸ‘€ (yes bestie, go read that one too, it's giving family tree).


πŸ¦‹ METHODS πŸ¦‹

  • highlight($string); β€” returns a list of string snippets and tags that can be inserted in a Tk::Text like widget instantly. like, zero delay, immediate slay πŸ”₯
  • syntax β€” returns 'Pod'. that's it. that's the whole method. and honestly? she ate. πŸ‘‘

πŸ’œ AUTHOR πŸ’œ

Hans Jeuken (haje@toneel.demon.nl)

shoutout to Hans, the original main character of this file 🫢


πŸ’€ BUGS πŸ’€

Unknown

which is either a flex or a mystery and honestly bestie, it's giving both πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

Tk::CodeText::Template β€” mentioned up in DESCRIPTION, and we do not leave a reference hanging around here. go check it out ✨


and that's the whole page, bestie!! no notes, no crumbs, full information preserved, periodt πŸ’…πŸŒˆβ­

this was CodeText::Pod(3pm) from perl v5.40.1, dated 2025-05-04 β€” thanks for reading the whole thing, you're a real one πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from