added html output to test notebook

This commit is contained in:
Aaron Munger 2024-04-03 14:05:01 -07:00
Родитель 9e62bf5882
Коммит edc86bd41e
1 изменённых файлов: 49 добавлений и 4 удалений

53
.vscode/notebook.ipynb поставляемый
Просмотреть файл

@ -2,11 +2,19 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"1\n"
]
}
],
"source": [
"code()"
"print(1)"
]
},
{
@ -15,11 +23,48 @@
"source": [
"Markdown cell"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<input type=\"text\" id=\"input\" value=\"input value\">\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%%HTML\n",
"<input type=\"text\" id=\"input\" value=\"input value\">"
]
}
],
"metadata": {
"kernelspec": {
"display_name": ".venv",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python"
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.9"
},
"orig_nbformat": 4
},