def summary(doc):
lines = []<EOL>if "<STR_LIT>" in doc and len(doc["<STR_LIT>"]) > <NUM_LIT:0>:<EOL><INDENT>lines.append(fix_footnotes("<STR_LIT:U+0020>".join(doc["<STR_LIT>"])))<EOL>lines.append("<STR_LIT:\n>")<EOL><DEDENT>if "<STR_LIT>" in doc and len(doc["<STR_LIT>"]) > <NUM_LIT:0>:<EOL><INDENT>lines.append(fix_footnotes("<STR_LIT:U+0020>".join(doc["<STR_LIT>"])))<EOL>lines.append("<STR_LIT:\n>")<EOL><DEDENT>return lines<EOL>
Generate markdown for summary section.

Parameters
----------
doc : dict
    Output from numpydoc

Returns
-------
list of str
    Markdown strings