def apply_md_text_formatting()

in function_app/src/helpers/content_understanding.py [0:0]


def apply_md_text_formatting(text: str, bold: bool) -> str:
    """Applies Markdown formatting to a given string"""
    return "**{}**".format(text) if bold else text