Skip to content

Instantly share code, notes, and snippets.

@JosCline
Created April 17, 2019 20:26
Show Gist options
  • Save JosCline/f06b362f9b0a03ca787fbdba2cb3435f to your computer and use it in GitHub Desktop.
Save JosCline/f06b362f9b0a03ca787fbdba2cb3435f to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{"metadata":{"language_info":{"name":"python","version":"3.7.3","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kernelspec":{"name":"python3","display_name":"Python 3","language":"python"}},"nbformat_minor":2,"nbformat":4,"cells":[{"cell_type":"markdown","source":"# Advanced Markdown Examples","metadata":{}},{"cell_type":"markdown","source":"## Code","metadata":{}},{"cell_type":"markdown","source":"To indicate a span of code, wrap it with backtick quotes (`). Unlike a pre-formatted code block, a code span indicates code within a normal paragraph. For example:","metadata":{}},{"cell_type":"markdown","source":"To indicate a span of code, wrap it with backtick quotes (`). Unlike a pre-formatted code block, a code span indicates code within a normal paragraph. For example:","metadata":{}},{"cell_type":"markdown","source":"</br>","metadata":{}},{"cell_type":"markdown","source":"## Links","metadata":{}},{"cell_type":"code","source":"This is [an example](http://example.com/ \"Title\") inline link.\n\n[This link](http://example.net/) has no title attribute.","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"This is [an example](http://example.com/ \"Title\") inline link.\n\n[This link](http://example.net/) has no title attribute.","metadata":{}},{"cell_type":"markdown","source":"</br>","metadata":{}},{"cell_type":"markdown","source":"## Images","metadata":{}},{"cell_type":"code","source":"![Triangle 1](img/triangle.jpeg)\n\n`or with an optional title attribute`\n\n![Triangle 2](https://github.com/JosCline/resources/triangle.jpeg \"Blue Triangle\")","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"![Triangle 1](img/triangle.jpeg)\n\n`or with an optional title attribute`\n\n![Triangle 2](img/triangle.jpeg \"Blue Triangle\")","metadata":{}},{"cell_type":"markdown","source":"#### or using Reference style syntax where [id] is the referenced image with an optional title attribute:","metadata":{}},{"cell_type":"code","source":"![Triangle 3][1]\n\n[1]: img/triangle.jpeg \"Third Blue Triangle\"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"![Triangle 3][1]\n\n[1]: img/triangle.jpeg \"Third Blue Triangle\"","metadata":{}},{"cell_type":"markdown","source":"</br>","metadata":{}},{"cell_type":"markdown","source":"## Inline HTML Example","metadata":{}},{"cell_type":"code","source":"This is a regular paragraph.\n\n<table>\n <tr>\n <td>Foo</td>\n </tr>\n</table>\n\nThis is another regular paragraph.","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"This is a regular paragraph.\n\n<table>\n <tr>\n <td>Foo</td>\n </tr>\n</table>\n\nThis is another regular paragraph.","metadata":{}},{"cell_type":"markdown","source":"</br>","metadata":{}},{"cell_type":"markdown","source":"#### Getting an image with HTML","metadata":{}},{"cell_type":"code","source":"<img src=\"img/triangle.jpeg\"></img>","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"<img src=\"img/triangle.jpeg\"></img>","metadata":{}}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment