当前位置:网站首页>Operation skills of markdown in jupyter
Operation skills of markdown in jupyter
2022-07-21 04:39:00 【Drinking wine under the lone shadow moon】
1. brief introduction
Jupyter Notebook Is a web based application for interactive computing . It can be applied to the whole process of calculation : open
Hair 、 Documentation 、 Run the code and display the results .——Jupyter Notebook The official introduction
in short ,Jupyter Notebook It's in the form of a web page , It can be in the web page Write code directly and Run code , Code Running results It will also display the program directly under the code block . At the same time, you can write notes in the page , Make timely explanations .
Jupyter notebook, As Python A popular one IDLE, Its intuitiveness 、 Simplicity 、 Easy to read and other advantages are widely accepted by many Python Recommended by users .
The Jupyter Notebook has two different keyboard input modes. Edit mode allows you to type code or text into a cell and is indicated by a green cell border.
# Edit mode : Green border
Command mode binds the keyboard to notebook level commands and is indicated by a grey cell border with a blue left margin.
# Command mode : Blue left border 、 Gray cell border
2. Operation skills ( On )
2.1 Format switching (code-markdown)
Shortcut :Esc Enter command mode , Input M Switch to a MarkDown Pattern , Input Y Switch to a Code Pattern
2.2 Set title
** Setting mode :** stay markdown In the pattern , according to # Set different title levels for the number of numbers .
Shortcut :Esc Enter command mode , Input 1,2,3,4,5,6 Titles corresponding to levels respectively
2.3 Set text
2.3.1 Bold text
Setting mode : Add “**”, It can be set to bold .
2.3.2 Italic text
Setting mode : Add “_”, Can be set to Italic .
2.3.3 Delete line
Setting mode : Add “~~”, You can set and delete the currently selected text .
2.3.4 Highlight text
Setting mode : Add “ ` ”, To highlight the current text .
2.4 Block references
Setting mode : Add... Before the text “>”, The more the number of , The lower the hierarchy . such as “>” The hierarchical relationship of is higher than “>>”
2.5 Set list serial number
2.5.1 Out of sequence number
Setting mode : Use “*”、“-”、“+” Can achieve this function .
2.5.2 Sequence number
Setting mode : Add something like “1.”、“2.” To achieve this function .
2.6 Add links
Setting mode : Enter the URL link at the same time , Change the name of the web address , brackets “[ ]” rename , parentheses “( )” Add URL .
2.7 Horizontal split line
stay cell When entering the code in , You may need a split line to split between rows .
Setup method : Three or more “-” or “*”
3. Operation skills ( Next )
3.1 Code highlighting
Setting mode : Use “```” Wrap the front and back codes , Realize the code highlighting function .
3.2 Inline code
Setting mode : Use “`” Wrap the front and back text , Highlight the selected part .
3.3 Line break
Setting mode : Use <p> or <br>、<br />、<br/>, among <p> The line spacing will be greater than <br> Large line spacing .
3.4 Make a form
Setting mode : Between words “|” The split represents the vertical border , use “—” Represents the horizontal border of the table .
3.5 HTML Format to generate pictures
Setting mode :<img src=‘ Picture address ’ width=“ Image width ”>
3.6 The mathematical formula
Setting mode : In the body $...$
A separate line shows $$...$$
3.7 footnote
Setting mode : Enter where you want to add a footnote [^ Numbers ], such as [^1], On this basis, in the same cell Enter the URL of the footnote under .
3.8 Check box
Setting mode :
[ ] Indicates incomplete or unselected
[x] Indicates completed or selected
4. summary
More use , practice , That is Practice makes perfect.
Reference link :
1.Jupyter Notebook Introduce 、 Installation and usage guide https://zhuanlan.zhihu.com/p/33105153
2.Jupyter in markdown Operation tips ( On )https://zhuanlan.zhihu.com/p/354383463
边栏推荐
猜你喜欢
随机推荐
JS基础--JSON
JS笔试题--Promise,setTimeout,任务队列综合题
Unity gets the key value of the dictionary according to the index,
Configuration of static routes to achieve network wide accessibility
Comprehensive experiment of static routing
RAID disk array
DOM节点类型
Game improvement of smart people: Lesson 2 of Chapter 3: k-number multiplication (Cheng)
Fun guessing game (not binary search!)
服务器硬件及RAID配置
Game improvement of smart people: Chapter 3 Lesson 1: ISBN (ISBN code)
JS基础--Math
Development history of Beijing BGP machine room
Quota of disks
北京双线机房的一些分析
ARP principle
Remote access and control
RNA 23. SCI文章中表达基因Cox模型的风险因子关联图(ggrisk)
See "cocos2dx-3.0 as I understand it" in combination with the source code - memory management
NAT网络地址转换