def box(text: str, lang: str='') ->str:
    """Get the given text in a code block.

    Parameters
    ----------
    text : str
        The text to be marked up.
    lang : `str`, optional
        The syntax highlighting language for the codeblock.

    Returns
    -------
    str
        The marked up text.

    """
    ret = '```{}\n{}\n```'.format(lang, text)
    return ret
