Merge pull request #2612 from minrk/double-pre

remove redundant pre tags in markdown examples
This commit is contained in:
Thomas Kluyver 2017-07-03 11:51:16 +01:00 committed by GitHub
commit ec43b45dd5

View File

@ -189,17 +189,13 @@
"source": [
"The Notebook webapp supports Github flavored markdown meaning that you can use triple backticks for code blocks:\n",
"\n",
" <pre>\n",
" ```python\n",
" print \"Hello World\"\n",
" ```\n",
" </pre>\n",
"\n",
" <pre>\n",
" ```javascript\n",
" console.log(\"Hello World\")\n",
" ```\n",
" </pre>\n",
"\n",
"Gives:\n",
"\n",
@ -213,16 +209,10 @@
"\n",
"And a table like this: \n",
"\n",
" <pre>\n",
" ```\n",
"\n",
" | This | is |\n",
" |------|------|\n",
" | a | table| \n",
"\n",
" ```\n",
" </pre>\n",
"\n",
"A nice HTML Table:\n",
"\n",
"| This | is |\n",
@ -278,7 +268,7 @@
"\n",
" <img src=\"../images/python_logo.svg\" />\n",
"\n",
"<img src=\"images/python_logo.svg\" />\n",
"<img src=\"../images/python_logo.svg\" />\n",
"\n",
"and a video with the HTML5 video tag:\n",
"\n",
@ -328,7 +318,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
"version": "3.6.0"
}
},
"nbformat": 4,