How do you properly add metadata to a Jupyter notebook to generate a website? #3811
-
I'm trying to create posts for a quarto generated website using Jupyter notebooks but the thing that is confusing me is how to properly add metadata in order to populate the standard fields like Title, Author, Date, etc. I thought I was supposed to create a
but then when I examine the ipynb file, it shows: {
"cells": [
{
"cell_type": "raw",
"metadata": {},
"source": [
"---\n",
"title: Testing a post\n",
"author: Ralph Macchio\n",
"date: 2022-09-04\n",
"---"
]
}, ... The metadata field is empty and I see similar warnings when doing a
Can someone explain how to properly manage metadata when posting to a quarto website using Jupyter notebooks? Thanks and happy new year. 🎉 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You should be able to place a markdown cell at the front of your document and place your front matter in that, surrounded by '---'. For example:
Does that work for you? |
Beta Was this translation helpful? Give feedback.
You should be able to place a markdown cell at the front of your document and place your front matter in that, surrounded by '---'.
For example:
Does that work for you?