def render_body(renderer, option_kwargs, exclude_keys, special_keys=None):
common_formatters = {<EOL>EXAMPLES: lambda examples: renderer.def_list({renderer.mono(example): annotation for example, annotation in examples.items()})<EOL>}<EOL>def default_fmt(x):<EOL><INDENT>return x<EOL><DEDENT>special_keys = special_keys or {}<EOL>special_part = '<STR_LIT:\n>'.join([special_handler(renderer, option_kwargs[special_key])<EOL>for special_key, special_handler in special_keys.items()<EOL>if special_key in option_kwargs])<EOL>common_part = renderer.field_list({k: common_formatters.get(k, default_fmt)(v) for k, v in option_kwargs.items()<EOL>if k not in exclude_keys + special_keys.keys()})<EOL>return '<STR_LIT:\n>'.join([_ for _ in [common_part, special_part] if _])<EOL>
:type option_kwargs: dict
:type exclude_keys: list
:type special_keys: dict