passing cap as last argument to renderer functions for inline parser