0


pycharm 打不开终端,居然是这个问题

1、找到HELP
2、点FIND ACTION
3、找到terminal.use.conpty.on.windows
4、把3项右边的V 去掉,重新打开pycharm 就OK

第一步
在这里插入图片描述
第二步!在这里插入图片描述

第三步
在这里插入图片描述Alt

居中并且带尺寸的图片: Alt

当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。

如何插入一段漂亮的代码片

去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的

代码片

.

// An highlighted blockvar foo ='bar';

生成一个适合你的列表

  • 项目 - 项目 - 项目
  1. 项目1
  2. 项目2
  3. 项目3
  • 计划任务
  • 完成任务

创建一个表格

一个简单的表格是这么创建的:
项目Value电脑$1600手机$12导管$1

设定内容居中、居左、居右

使用

:---------:

居中
使用

:----------

居左
使用

----------:

居右
第一列第二列第三列第一列文本居中第二列文本居右第三列文本居左

SmartyPants

SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如:
TYPEASCIIHTMLSingle backticks

'Isn't this fun?'

‘Isn’t this fun?’Quotes

"Isn't this fun?"

“Isn’t this fun?”Dashes

-- is en-dash, --- is em-dash

– is en-dash, — is em-dash

创建一个自定义列表

Markdown

Text-to-
HTML conversion tool

Authors

John

Luke

如何创建一个注脚

一个具有注脚的文本。

注释也是必不可少的

Markdown将文本转换为 HTML。

KaTeX数学公式

您可以使用渲染LaTeX数学表达式 KaTeX:

Gamma公式展示

     Γ 
    
   
     ( 
    
   
     n 
    
   
     ) 
    
   
     = 
    
   
     ( 
    
   
     n 
    
   
     − 
    
   
     1 
    
   
     ) 
    
   
     ! 
    
    
   
     ∀ 
    
   
     n 
    
   
     ∈ 
    
   
     N 
    
   
  
    \Gamma(n) = (n-1)!\quad\forall n\in\mathbb N 
   
  
Γ(n)=(n−1)!∀n∈N 是通过欧拉积分


  
   
    
    
      Γ 
     
    
      ( 
     
    
      z 
     
    
      ) 
     
    
      = 
     
     
     
       ∫ 
      
     
       0 
      
     
       ∞ 
      
     
     
     
       t 
      
      
      
        z 
       
      
        − 
       
      
        1 
       
      
     
     
     
       e 
      
      
      
        − 
       
      
        t 
       
      
     
    
      d 
     
    
      t 
      
    
      . 
     
    
   
     \Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,. 
    
   
 Γ(z)=∫0∞​tz−1e−tdt.

你可以找到更多关于的信息 LaTeX 数学表达式here.

新的甘特图功能,丰富你的文章

#mermaid-svg-1F5SAwE5mt0qOMa8 {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-1F5SAwE5mt0qOMa8 .error-icon{fill:#552222;}#mermaid-svg-1F5SAwE5mt0qOMa8 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-1F5SAwE5mt0qOMa8 .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-1F5SAwE5mt0qOMa8 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-1F5SAwE5mt0qOMa8 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-1F5SAwE5mt0qOMa8 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-1F5SAwE5mt0qOMa8 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-1F5SAwE5mt0qOMa8 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-1F5SAwE5mt0qOMa8 .marker.cross{stroke:#333333;}#mermaid-svg-1F5SAwE5mt0qOMa8 svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-1F5SAwE5mt0qOMa8 .mermaid-main-font{font-family:"trebuchet ms",verdana,arial,sans-serif;font-family:var(--mermaid-font-family);}#mermaid-svg-1F5SAwE5mt0qOMa8 .exclude-range{fill:#eeeeee;}#mermaid-svg-1F5SAwE5mt0qOMa8 .section{stroke:none;opacity:0.2;}#mermaid-svg-1F5SAwE5mt0qOMa8 .section0{fill:rgba(102, 102, 255, 0.49);}#mermaid-svg-1F5SAwE5mt0qOMa8 .section2{fill:#fff400;}#mermaid-svg-1F5SAwE5mt0qOMa8 .section1,#mermaid-svg-1F5SAwE5mt0qOMa8 .section3{fill:white;opacity:0.2;}#mermaid-svg-1F5SAwE5mt0qOMa8 .sectionTitle0{fill:#333;}#mermaid-svg-1F5SAwE5mt0qOMa8 .sectionTitle1{fill:#333;}#mermaid-svg-1F5SAwE5mt0qOMa8 .sectionTitle2{fill:#333;}#mermaid-svg-1F5SAwE5mt0qOMa8 .sectionTitle3{fill:#333;}#mermaid-svg-1F5SAwE5mt0qOMa8 .sectionTitle{text-anchor:start;font-family:'trebuchet ms',verdana,arial,sans-serif;font-family:var(--mermaid-font-family);}#mermaid-svg-1F5SAwE5mt0qOMa8 .grid .tick{stroke:lightgrey;opacity:0.8;shape-rendering:crispEdges;}#mermaid-svg-1F5SAwE5mt0qOMa8 .grid .tick text{font-family:"trebuchet ms",verdana,arial,sans-serif;fill:#333;}#mermaid-svg-1F5SAwE5mt0qOMa8 .grid path{stroke-width:0;}#mermaid-svg-1F5SAwE5mt0qOMa8 .today{fill:none;stroke:red;stroke-width:2px;}#mermaid-svg-1F5SAwE5mt0qOMa8 .task{stroke-width:2;}#mermaid-svg-1F5SAwE5mt0qOMa8 .taskText{text-anchor:middle;font-family:'trebuchet ms',verdana,arial,sans-serif;font-family:var(--mermaid-font-family);}#mermaid-svg-1F5SAwE5mt0qOMa8 .taskTextOutsideRight{fill:black;text-anchor:start;font-family:'trebuchet ms',verdana,arial,sans-serif;font-family:var(--mermaid-font-family);}#mermaid-svg-1F5SAwE5mt0qOMa8 .taskTextOutsideLeft{fill:black;text-anchor:end;}#mermaid-svg-1F5SAwE5mt0qOMa8 .task.clickable{cursor:pointer;}#mermaid-svg-1F5SAwE5mt0qOMa8 .taskText.clickable{cursor:pointer;fill:#003163!important;font-weight:bold;}#mermaid-svg-1F5SAwE5mt0qOMa8 .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163!important;font-weight:bold;}#mermaid-svg-1F5SAwE5mt0qOMa8 .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163!important;font-weight:bold;}#mermaid-svg-1F5SAwE5mt0qOMa8 .taskText0,#mermaid-svg-1F5SAwE5mt0qOMa8 .taskText1,#mermaid-svg-1F5SAwE5mt0qOMa8 .taskText2,#mermaid-svg-1F5SAwE5mt0qOMa8 .taskText3{fill:white;}#mermaid-svg-1F5SAwE5mt0qOMa8 .task0,#mermaid-svg-1F5SAwE5mt0qOMa8 .task1,#mermaid-svg-1F5SAwE5mt0qOMa8 .task2,#mermaid-svg-1F5SAwE5mt0qOMa8 .task3{fill:#8a90dd;stroke:#534fbc;}#mermaid-svg-1F5SAwE5mt0qOMa8 .taskTextOutside0,#mermaid-svg-1F5SAwE5mt0qOMa8 .taskTextOutside2{fill:black;}#mermaid-svg-1F5SAwE5mt0qOMa8 .taskTextOutside1,#mermaid-svg-1F5SAwE5mt0qOMa8 .taskTextOutside3{fill:black;}#mermaid-svg-1F5SAwE5mt0qOMa8 .active0,#mermaid-svg-1F5SAwE5mt0qOMa8 .active1,#mermaid-svg-1F5SAwE5mt0qOMa8 .active2,#mermaid-svg-1F5SAwE5mt0qOMa8 .active3{fill:#bfc7ff;stroke:#534fbc;}#mermaid-svg-1F5SAwE5mt0qOMa8 .activeText0,#mermaid-svg-1F5SAwE5mt0qOMa8 .activeText1,#mermaid-svg-1F5SAwE5mt0qOMa8 .activeText2,#mermaid-svg-1F5SAwE5mt0qOMa8 .activeText3{fill:black!important;}#mermaid-svg-1F5SAwE5mt0qOMa8 .done0,#mermaid-svg-1F5SAwE5mt0qOMa8 .done1,#mermaid-svg-1F5SAwE5mt0qOMa8 .done2,#mermaid-svg-1F5SAwE5mt0qOMa8 .done3{stroke:grey;fill:lightgrey;stroke-width:2;}#mermaid-svg-1F5SAwE5mt0qOMa8 .doneText0,#mermaid-svg-1F5SAwE5mt0qOMa8 .doneText1,#mermaid-svg-1F5SAwE5mt0qOMa8 .doneText2,#mermaid-svg-1F5SAwE5mt0qOMa8 .doneText3{fill:black!important;}#mermaid-svg-1F5SAwE5mt0qOMa8 .crit0,#mermaid-svg-1F5SAwE5mt0qOMa8 .crit1,#mermaid-svg-1F5SAwE5mt0qOMa8 .crit2,#mermaid-svg-1F5SAwE5mt0qOMa8 .crit3{stroke:#ff8888;fill:red;stroke-width:2;}#mermaid-svg-1F5SAwE5mt0qOMa8 .activeCrit0,#mermaid-svg-1F5SAwE5mt0qOMa8 .activeCrit1,#mermaid-svg-1F5SAwE5mt0qOMa8 .activeCrit2,#mermaid-svg-1F5SAwE5mt0qOMa8 .activeCrit3{stroke:#ff8888;fill:#bfc7ff;stroke-width:2;}#mermaid-svg-1F5SAwE5mt0qOMa8 .doneCrit0,#mermaid-svg-1F5SAwE5mt0qOMa8 .doneCrit1,#mermaid-svg-1F5SAwE5mt0qOMa8 .doneCrit2,#mermaid-svg-1F5SAwE5mt0qOMa8 .doneCrit3{stroke:#ff8888;fill:lightgrey;stroke-width:2;cursor:pointer;shape-rendering:crispEdges;}#mermaid-svg-1F5SAwE5mt0qOMa8 .milestone{transform:rotate(45deg) scale(0.8,0.8);}#mermaid-svg-1F5SAwE5mt0qOMa8 .milestoneText{font-style:italic;}#mermaid-svg-1F5SAwE5mt0qOMa8 .doneCritText0,#mermaid-svg-1F5SAwE5mt0qOMa8 .doneCritText1,#mermaid-svg-1F5SAwE5mt0qOMa8 .doneCritText2,#mermaid-svg-1F5SAwE5mt0qOMa8 .doneCritText3{fill:black!important;}#mermaid-svg-1F5SAwE5mt0qOMa8 .activeCritText0,#mermaid-svg-1F5SAwE5mt0qOMa8 .activeCritText1,#mermaid-svg-1F5SAwE5mt0qOMa8 .activeCritText2,#mermaid-svg-1F5SAwE5mt0qOMa8 .activeCritText3{fill:black!important;}#mermaid-svg-1F5SAwE5mt0qOMa8 .titleText{text-anchor:middle;font-size:18px;fill:#333;font-family:'trebuchet ms',verdana,arial,sans-serif;font-family:var(--mermaid-font-family);}#mermaid-svg-1F5SAwE5mt0qOMa8 :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
2014-01-07

  2014-01-09 

  2014-01-11 

  2014-01-13 

  2014-01-15 

  2014-01-17 

  2014-01-19 

  2014-01-21 

 已完成 

 进行中 

 计划一 

 计划二 

  现有任务 

Adding GANTT diagram functionality to mermaid 
  • 关于 甘特图 语法,参考 这儿,

UML 图表

可以使用UML图表进行渲染。 Mermaid. 例如下面产生的一个序列图:

#mermaid-svg-3kMS85dpGGKNzPeg {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-3kMS85dpGGKNzPeg .error-icon{fill:#552222;}#mermaid-svg-3kMS85dpGGKNzPeg .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-3kMS85dpGGKNzPeg .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-3kMS85dpGGKNzPeg .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-3kMS85dpGGKNzPeg .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-3kMS85dpGGKNzPeg .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-3kMS85dpGGKNzPeg .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-3kMS85dpGGKNzPeg .marker{fill:#333333;stroke:#333333;}#mermaid-svg-3kMS85dpGGKNzPeg .marker.cross{stroke:#333333;}#mermaid-svg-3kMS85dpGGKNzPeg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-3kMS85dpGGKNzPeg .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-3kMS85dpGGKNzPeg text.actor>tspan{fill:black;stroke:none;}#mermaid-svg-3kMS85dpGGKNzPeg .actor-line{stroke:grey;}#mermaid-svg-3kMS85dpGGKNzPeg .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-3kMS85dpGGKNzPeg .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-3kMS85dpGGKNzPeg #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-3kMS85dpGGKNzPeg .sequenceNumber{fill:white;}#mermaid-svg-3kMS85dpGGKNzPeg #sequencenumber{fill:#333;}#mermaid-svg-3kMS85dpGGKNzPeg #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-3kMS85dpGGKNzPeg .messageText{fill:#333;stroke:#333;}#mermaid-svg-3kMS85dpGGKNzPeg .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-3kMS85dpGGKNzPeg .labelText,#mermaid-svg-3kMS85dpGGKNzPeg .labelText>tspan{fill:black;stroke:none;}#mermaid-svg-3kMS85dpGGKNzPeg .loopText,#mermaid-svg-3kMS85dpGGKNzPeg .loopText>tspan{fill:black;stroke:none;}#mermaid-svg-3kMS85dpGGKNzPeg .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-3kMS85dpGGKNzPeg .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-3kMS85dpGGKNzPeg .noteText,#mermaid-svg-3kMS85dpGGKNzPeg .noteText>tspan{fill:black;stroke:none;}#mermaid-svg-3kMS85dpGGKNzPeg .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-3kMS85dpGGKNzPeg .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-3kMS85dpGGKNzPeg .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-3kMS85dpGGKNzPeg .actorPopupMenu{position:absolute;}#mermaid-svg-3kMS85dpGGKNzPeg .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#mermaid-svg-3kMS85dpGGKNzPeg .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-3kMS85dpGGKNzPeg .actor-man circle,#mermaid-svg-3kMS85dpGGKNzPeg line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-3kMS85dpGGKNzPeg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
张三

   李四 
 
   王五 
 
你好!李四, 最近怎么样? 

你最近怎么样,王五? 

我很好,谢谢! 

我很好,谢谢! 

  李四想了很长时间, 文字太长了 

  不适合放在一行. 

打量着王五... 

很好... 王五, 你怎么样? 

  张三 

  李四 

  王五 

这将产生一个流程图。:

#mermaid-svg-FaNeet5OVb5oGcZh {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-FaNeet5OVb5oGcZh .error-icon{fill:#552222;}#mermaid-svg-FaNeet5OVb5oGcZh .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-FaNeet5OVb5oGcZh .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-FaNeet5OVb5oGcZh .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-FaNeet5OVb5oGcZh .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-FaNeet5OVb5oGcZh .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-FaNeet5OVb5oGcZh .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-FaNeet5OVb5oGcZh .marker{fill:#333333;stroke:#333333;}#mermaid-svg-FaNeet5OVb5oGcZh .marker.cross{stroke:#333333;}#mermaid-svg-FaNeet5OVb5oGcZh svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-FaNeet5OVb5oGcZh .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-FaNeet5OVb5oGcZh .cluster-label text{fill:#333;}#mermaid-svg-FaNeet5OVb5oGcZh .cluster-label span{color:#333;}#mermaid-svg-FaNeet5OVb5oGcZh .label text,#mermaid-svg-FaNeet5OVb5oGcZh span{fill:#333;color:#333;}#mermaid-svg-FaNeet5OVb5oGcZh .node rect,#mermaid-svg-FaNeet5OVb5oGcZh .node circle,#mermaid-svg-FaNeet5OVb5oGcZh .node ellipse,#mermaid-svg-FaNeet5OVb5oGcZh .node polygon,#mermaid-svg-FaNeet5OVb5oGcZh .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-FaNeet5OVb5oGcZh .node .label{text-align:center;}#mermaid-svg-FaNeet5OVb5oGcZh .node.clickable{cursor:pointer;}#mermaid-svg-FaNeet5OVb5oGcZh .arrowheadPath{fill:#333333;}#mermaid-svg-FaNeet5OVb5oGcZh .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-FaNeet5OVb5oGcZh .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-FaNeet5OVb5oGcZh .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-FaNeet5OVb5oGcZh .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-FaNeet5OVb5oGcZh .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-FaNeet5OVb5oGcZh .cluster text{fill:#333;}#mermaid-svg-FaNeet5OVb5oGcZh .cluster span{color:#333;}#mermaid-svg-FaNeet5OVb5oGcZh div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-FaNeet5OVb5oGcZh :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
链接

       长方形 
     

       圆 
     

       圆角长方形 
     

       菱形 
     
  • 关于 Mermaid 语法,参考 这儿,

FLowchart流程图

我们依旧会支持flowchart的流程图:

Created with Raphaël 2.3.0 

 开始 

 我的操作 

 确认? 

 结束 

 yes 

 no 
  • 关于 Flowchart流程图 语法,参考 这儿.

导出与导入

导出

如果你想尝试使用此编辑器, 你可以在此篇文章任意编辑。当你完成了一篇文章的写作, 在上方工具栏找到 文章导出 ,生成一个.md文件或者.html文件进行本地保存。

导入

如果你想加载一篇你写过的.md文件,在上方工具栏可以选择导入功能进行对应扩展名的文件导入,
继续你的创作。


标签: pycharm 数据库 ide

本文转载自: https://blog.csdn.net/weixin_44863428/article/details/141128652
版权归原作者 太阳神鸟: 所有, 如有侵权,请联系我们删除。

“pycharm 打不开终端,居然是这个问题”的评论:

还没有评论