def formatChunk(stringContent, charLimit):
    """
    Formats a markdown section with with a specific
    col limit. This only makes changes if the section is a
    paragraph and nothing else.

    The only guarantee for the input is that there
    are no lines which only contain a new line or space.

    :param stringContent: string of markdown chunk
    :param charLimit: max character limit
    :return: formatted string
    """
    if len(stringContent.strip(" ")) == 0:
        return ""
    elif not stringContent[0].isalpha():
        return stringContent
    result = ""
    line = ""
    stringContent = stringContent.replace("\n", " ")
    words = stringContent.split(" ")

    for word in words:
        if len(line) == 0 or len(line) + len(word) < charLimit:
            if not len(line) == 0:
                line = line + " "
            line = line + word
        else:
            result = result + line + "\n"
            line = word
    if line != "":
        result = result + line + "\n"
    return result