Sure. I'm not particularly familiar with wmd, but by the looks of it,
when you include the wmd script, it replaces any text area on the page
with the wmd widget. A preview area is created when a <div
class="wmd-preview"></div> is found.
What you need to do is write a custom Textarea widget that overrides
the base Textarea widget, modifying the render() method to include
both the <textarea> and the <div>.
Then, whenever you have a form with a text input, specify your custom widget.
If you associate the Media with the widget, any time you use the
widget, the javascript will automatically get included on the admin
page.
Yours,
Russ Magee %-)