• This function takes in a string of text(assuming markdown, or just newline formatted), and converts it to an HTML list. The list type can be either ordered or unordered.

    Parameters

    • htmlListType: "Ordered" | "Unordered"
    • text: string

    Returns string