Stack Overflow Asked by Mario on September 18, 2020
I want to insert images of national flags from a URL source and Markdown code block in Jupyter Notebooks as following examples:
I have found a similar method they used flag codes in excel
Like this:
|Teams | Nationality flag |
| ------------- |:-----------------:|
| Germany | GER |
| Iran | IRI |
| Italy | ITA |
Any helps will be appreciated.
Just like you do in SO
In a markdown cell, create the markdown table, add the link to the image file, and run the cell.
Flags from Flagpedia
|Teams | Nationality flag |
| ------------- |:-----------------:|
| CA | ![](http://usa.flagpedia.net/data/flags/mini/ca.png) |
|Teams | Nationality flag |
| ------------- |:-----------------:|
| CA | ![][ca] |
[ca]: http://usa.flagpedia.net/data/flags/mini/ca.png
|Teams | Nationality flag |
| ------------- |:-----------------:|
| CA | ![ca] |
[ca]: http://usa.flagpedia.net/data/flags/mini/ca.png
Correct answer by Trenton McKinney on September 18, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP