Helper for converting markup to Om components.