def AddSubheader(L, N, color, num1, num2, font_family, text, renderer):
    """
    (list, int, str, str, str, str, mistune.Markdown) -> int
    
    :param L: List with report strings
    :param N: Number of empty lines following header
    :param color: Color of the text
    :param num1: Header number
    :param num2: Sub-header number
    :param font_family: Comma-separated text fonts
    :param text: Text of the header
    :param renderer: markdown renderer
        
    Add header to list. Modify list in place. And return the sub-header number
    """
    L.append(renderer(
        '<font size=4><p style="text-align: left; color: {0}; font-weight: bold; font-family: {1};">{2}.{3} {4}</p></font>'
        .format(color, font_family, num1, num2, text)))
    L.append(renderer('<pre> </pre>' * N))
    return num2
