print(create_qmd_header('A basic quarto file'))
---
title: "A basic quarto file"
format:
html:
code-fold: true
jupyter: python3
---
create_qmd_header (title:str)
Type | Details | |
---|---|---|
title | str | Title of the document |
Returns | str | yaml header qmd file |
For example if the title is A basic quarto file then calling the function will render the following,
---
title: "A basic quarto file"
format:
html:
code-fold: true
jupyter: python3
---