当前位置: 首页 > news >正文

Jupyter Markdown格式

穿插在程序中,太复杂了喧宾夺主,太简单了不如注释。这样就刚刚好:

  1. Headers
# header 1
## header 2
### header 3
#### header 4

Output:

header 1

header 2

header 3

header 4

2. Horizontal Line

Use any of three to draw a horizontal line. 
*** 
---
___

Output:




3. Text formatting

Text formatting is important in order to highlight important keywords.

a. Text color
<span style='color:green'> message/text </span>
<span style='color:Blue'> Blue is my favorite color.  </span>
b. Text background
<span style='background:yellow'> message/text  </span>
<span style='background :yellow' > Background color is yellow </span>
c. Text font-family
<span style='font-family:font_family name'> message  </span>
<span style='font-family:Georgia'> It is Georgia font.
<span style='font-family:Helvetica'> It is  Helvetica font.
<span style='font-family:"Times New Roman"'> <span styel=''>It is "Times New Roman" font.
<span style='font-family:serif'> It is serif font.
<span style='font-family:sans-serif'> It is sans-serif font.
d. Text Emphasis
*Italic*  or _Italic_ 
**Bold** 
***Bold and Italic*** 

Italic or Italic
Bold
Bold and Italic

4. Blockquotes

> 1 Blockquotes
>> 2 Blockquotes
>>> 3 Blockquotes
>>>> 4 Blockquotes
>>>>>>>> 8 Blockquotes

Output:

1 Blockquotes

2 Blockquotes

3 Blockquotes

4 Blockquotes

8 Blockquotes

5. List

1. Main list <br>
a. Sub-list <br>
b. sub list 
2. Main list
* main list 

Output:

  1. Main list

    a. Sub-list

    b. sub list
  2. Main list
  • main list

6. Table

| How | To | Make | a table|
| :---: | :---: | :---: | :---: |
| in   | <span style= 'background:yellow'> Jupyter </span>| <span style= 'background:yellow'> Notebook </span>| <span style= 'background:yellow'> Markdown </span> |
| It | is | really| cool |
Note: Colons can be used to align columns.
:--- Left align
---: Right align
:---: Center align

Output:

HowToMakea table
in Jupyter Notebook Markdown
Itisreallycool
Note: Colons can be used to align columns.
:— Left align
—: Right align
:—: Center align

7. Link insertion

[My blog link ](https://blog.csdn.net/longwo888)

Output:
My blog link

http://www.lryc.cn/news/279209.html

相关文章:

  • Vue3 实时显示时间
  • 详解Java多线程之循环栅栏技术CyclicBarrier
  • ebpf学习
  • 【Linux】Linux系统编程——ls命令
  • QA面试题
  • 【国产mcu填坑篇】华大单片机(小华半导体)一、SPI的DMA应用(发送主机)HC32L136
  • 【前后端的那些事】treeSelect树形结构数据展示
  • 华为OD机试 - 最长子字符串的长度(二)(Java JS Python C)
  • 【VRTK】【Unity】【游戏开发】更多技巧
  • Spark 读excel报错,scala.MatchError
  • 【漏洞复现】Office365-Indexs-任意文件读取
  • 使用Python向RabbitMQ发送JSON数据只需要一个send_json方法
  • Gitlab Gitee GitHub 远程仓库显示图片
  • JS常用的几种事件
  • 代码随想录算法训练营第一天| 27 移除元素 704 二分查找
  • 深度生成模型(Deep Generative Models)
  • C++(20):vector通过erase,erase_if删除符合条件的元素
  • 树莓派ubuntu:新增用户
  • C //练习 5-14 修改排序程序,使它能处理-r标记。该标记表明,以逆序(递减)方式排序。要保证-r和-n能够组合在一起使用。
  • CAN总线报文格式———标准数据帧
  • DFT中的SCAN、BIST、ATPG基本概念
  • 掌握 Vue 响应式系统,让数据驱动视图(下)
  • apache、nginx、php 隐藏版本号
  • sqoop的安装与使用
  • 【docker】Docker Stack 详细使用及注意事项
  • Android开发基础(四)
  • HTML5+CSS3+JS小实例:音频可视化
  • 【写作】短篇《相遇与相守》
  • 2024年最新软件测试面试题
  • instanceof、对象类型转化、static关键字