def add_docusaurus_metadata(content: str, id: str, title: str, hide_title) -> str:
    """
    Add docusaurus metadata into content.
    """
    return f"---\nid: {id}\ntitle: {title}\nhide_title: {hide_title}\n---\n\n" + content