move markup to a plugin instead of client code