##// END OF EJS Templates
Changed name of file from math to mathjax.
Changed name of file from math to mathjax.

File last commit:

r13832:6df9ab58
r14154:0c4fee9d
Show More
rawtest.ipynb
84 lines | 1.4 KiB | text/plain | TextLexer
MinRK
test raw cell inclusion based on raw_format metadata
r13665 {
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "raw",
"metadata": {
MinRK
propagate raw_mimetype to nbconvert
r13678 "raw_mimetype": "text/html"
MinRK
test raw cell inclusion based on raw_format metadata
r13665 },
"source": [
"<b>raw html</b>"
]
},
{
"cell_type": "raw",
"metadata": {
MinRK
propagate raw_mimetype to nbconvert
r13678 "raw_mimetype": "text/markdown"
MinRK
test raw cell inclusion based on raw_format metadata
r13665 },
"source": [
"* raw markdown\n",
"* bullet\n",
"* list"
]
},
{
"cell_type": "raw",
"metadata": {
MinRK
propagate raw_mimetype to nbconvert
r13678 "raw_mimetype": "text/restructuredtext"
MinRK
test raw cell inclusion based on raw_format metadata
r13665 },
"source": [
"``raw rst``\n",
"\n",
".. sourcecode:: python\n",
"\n",
" def foo(): pass\n"
]
},
{
"cell_type": "raw",
"metadata": {
Thomas Kluyver
Condense raw_mimetype and mime_type traitlets into output_mimetype
r13832 "raw_mimetype": "text/x-python"
MinRK
test raw cell inclusion based on raw_format metadata
r13665 },
"source": [
"def bar():\n",
" \"\"\"raw python\"\"\"\n",
" pass"
]
},
{
"cell_type": "raw",
"metadata": {
MinRK
propagate raw_mimetype to nbconvert
r13678 "raw_mimetype": "text/latex"
MinRK
test raw cell inclusion based on raw_format metadata
r13665 },
"source": [
"\\LaTeX\n",
"% raw latex"
]
},
{
"cell_type": "raw",
"metadata": {},
"source": [
MinRK
propagate raw_mimetype to nbconvert
r13678 "# no raw_mimetype metadata, should be included by default"
MinRK
test raw cell inclusion based on raw_format metadata
r13665 ]
},
{
"cell_type": "raw",
"metadata": {
MinRK
propagate raw_mimetype to nbconvert
r13678 "raw_mimetype": "doesnotexist"
MinRK
test raw cell inclusion based on raw_format metadata
r13665 },
"source": [
"garbage format defined, should never be included"
]
}
],
"metadata": {}
}
]
Thomas Kluyver
Condense raw_mimetype and mime_type traitlets into output_mimetype
r13832 }