SDML(1)

πŸ“¦
version 0.3.2+20250310 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

✨ SDML(1) β€” sdml highlight ✨

okay bestie, pull up a chair 🫢 this is the manual page for sdml highlight, section 1 of the manual, and by the end of this you're gonna be highlighting SDML module source like it's nothing. no cap. πŸ’…


🌸 NAME 🌸

sdml highlight β€” Syntax highlight a module source.

like. that's the whole job. it takes an SDML module source and makes it pretty with colours. iconic behavior honestly πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

sdml highlight [OPTIONS] [MODULE]

that's it. that's the shape of it. options go first, module goes last, and the module is optional because the defaults are doing the most for you already ✨


πŸ’– DESCRIPTION πŸ’–

Syntax highlight a module source.

girl, that is the vibe. literally the entire point of this thing. you feed it SDML source, it hands it back to you all highlighted and gorgeous. main character energy for your terminal πŸ”₯

This

  • - Ansi (default) ::
  • - Html ::
ngl the docs here are giving "someone's doc comment escaped the enclosure" 😭 but bestie I am reporting it verbatim because the facts are sacred and I don't make the rules.

🌈 Arguments 🐚

  • [MODULE] β€” the SDML module you wanna highlight. it gets loaded using the standard resolver, so you just say the name and the resolver goes and finds it for you. so convenient of it πŸ’œ

πŸ‘‘ OPTIONS πŸ‘‘

one bullet per option because we respect the format in this house πŸ’…

  • -f, --output-format <OUTPUT_FORMAT> β€” picks the format your highlighted output comes out in. possible values:
    • ansi β€” ANSI escape for console ✨
    • html β€” HTML pre-formatted element πŸŽ€
    • html-standalone β€” HTML stand-alone document 🌸

default: ansi β€” because duh, you're probably in a terminal, bestie 🫢

  • -o, --output <OUTPUT> β€” the file name to write to. orrrr you can pass - to write to stdout instead. default: -
  • -i, --input <INPUT> β€” the input SDML file name to read from. or, again, - to read from stdin. pipes are the moment πŸ“ default: -
  • -h, --help β€” Print help. heads up though: this one shows the long help. if you just want the lil summary, use -h β€” wait no, bestie, read it again: it says "see a summary with '-h'" πŸ’€ okay so -h gets you the summary and --help gets you the whole essay, that's the whole deal.
  • -V, --version β€” Print version. simple. elegant. slay. ⭐

🫧 tiny note before you go: the source of truth here is what the tool actually told us, so if a flag behaves differently than the vibe I described, the flag is right and I am just loud. trust the tool. 🌈

πŸ’Œ SEE YA πŸ’Œ

this whole page is for sdml highlight, version 0.3.2+20250310, and it was documented back in October 2025 β€” so if you're reading this from the far-flung future, hi, hope SDML is still eating πŸ’–

now go highlight something and make it beautiful. you got this. periodt. πŸ‘‘βœ¨πŸ¦‹

πŸ“¦ where this page comes from