Change the corresponding drop-down list item to Markdown for the code cell, then enter the plain text, and then use square brackets to enclose the graphic Python in the text as the link name, and use parentheses to enclose the URL in the text as the link address :
Run Cell->Run Cells, you can see that the plain text is formatted as text with hyperlinks, and clicking the link name will jump to the specified link address:
Next, copy and paste, double-click to edit, we change the link name to the link address:
when the link name is the same as the link address, there is a simpler way of writing, as shown in the figure below, is to put the link address in a pile of angle brackets In, we add two spaces at the end of the first line to change the line:
Cell->Run Cells, click any link to jump to the specified link address:
Next click the first cell, then click the copy button in the toolbar, then click the second cell, and then click the button paste in the toolbar, so that the first cell will be pasted at the end, double-click to edit :
We can replace the parentheses and the link address with a square bracket and a variable:
Then use the
square brackets and this variable to specify the link address: note that a blank line should be inserted between the two lines in the above figure, Cell-> Run Cells:
The advantage of this is that if the same link address is used in multiple places, then the brackets and variables above can be used instead, for example:
pay attention to adding 2 after the first and second lines A space to change the line, and then Cell->Run Cells operation:
these 3 hyperlinks all point to the same address.
Next, click the + plus sign to change to Markdown. In the Markdown cell, we can insert a mathematical formula in LaTeX format. This mathematical formula is in LaTeX format. If you want to use it as an in-line formula, add it on the left and right sides. A $ sign:
Cell->Run Cells:
Copy and paste, double-click to edit. If you want to use it as an entire line of formulas, add two $
signs on the left and right sides: Cell->Run Cells, and the entire line of formulas will be displayed in the center. Show more and more complicated LaTeX mathematical formulas, you can learn LaTeX syntax:
Next, click the + plus sign to change to Markdown. In the Markdown cell, we can also insert HTML tags. For example, the tag u in HTML can display an underlined text:
Cell->Run Cells runs, and the text is displayed below An underscore:
Click the + plus sign to change to Markdown. Another example is the hyperlink mentioned earlier. You can also use the tag a in HTML to achieve:
Cell->Run Cells. After clicking the link text, you can also jump to the specified link address:
For example, to change the color of the text, you can use the tag font in HTML to specify the color of the text as red:
Cell->Run Cells runs, and the text is formatted as red:
You can also use the standard way in HTML5:
Cell->Run Cells, the text is also formatted in red:
Common HTML tags are supported in Markdown.