def generate_md_code_str(code_snippet: str, description: str = 'Snippet') -> str:
    """The normal ``` syntax doesn't seem to get picked up by mdv. It relies on indentation based code blocks.

    This one liner accommodates for this by just padding a code block with 4 additional spaces.
    Hacky? Sure. Effective? Yup.

    :param code_snippet:
    :param description:
    :return: formatted code snippet
    """
    code_snippet = code_snippet.replace('\n', '\n    ')
    return f'\n###{description}:\n     {code_snippet}\n'