Example of implementing IHtmlFilter?

Is there an example of how I would implement IHtmlFilter to create a module that can process short codes such as [youtube:dskhfskj] so a youtube video is rendered? I already have code to do in my current apps - just need to figure out how to plug it into
Orchard.

Edit: Found this by young Skywalker. Where exactly does this plug into orchard? As a module?

Yes, create a module and create your class in there. When you launch Orchard, go to Modules and enable your feature.
Orchard will find and register all classes that implement IDependency (from which IHtmlFilter derives) and registers with the IoC container.