*/code[class*="language-"],pre[class*="language-"]{color:#333;background:none;font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.4;-moz-tab-size:8;-o-tab-size:8;tab-size:8...
constdeltaSet =newDeltaSet();// 标记当前正在处理的的`ZoneId`// 实际情况下可能会存在多层嵌套 此时需要用`stack`来处理letcurrentZone: string =ROOT_ZONE;// 标记当前处理的类型 如果存在多种类型时会用得到letcurrentMode:"NORMAL"|"CODEBLOCK"="NORMAL";// 用于判断当前`Line`是否为`CodeBlock`constisCo...
important;/*字间距*/letter-spacing:0px;font-size:16px;/*词间距*/word-spacing:0px;/*首行缩进*/text-indent:0em;/*文本对齐 */text-align:justify;/* 空白字符的显示 */white-space:pre-wrap!important;/* 长度超过一行的单词换行方法 */word-wrap:break-word!important;/* 非中日韩单词换行方法 */...
code { /*标签通常只是把文本变成 等宽字体*/ white-space:nowrap; /*如何处理元素内空白行,回车or忽略,nowrap不换行,pre-wrap换行*/ border: 1px solid #EAEAEA; /*边框,用于设置边框属性,1px为边线尺寸,solid意为实线,#EAEAEA为边框颜色*/ border-radius: 2px; /*给 div 元素添加圆角的边框*/ display: ...
TextWrapping Gets or sets the word wrapping behavior. UriPrefix Gets or sets the Prefix of Uri. UseSyntaxHighlighting Gets or sets a value indicating whether to use Syntax Highlighting on Code. WrapCodeBlock Gets or sets a value indicating whether to Wrap the Code Block ...
结束</summary>标记后,否则 markdown/code 块不会正确显示 如果有多个可折叠部分,则结束</details>标记后 在Wiki 页面中嵌入视频 若要在 Wiki 页面中嵌入来自 YouTube 和 Microsoft Streams 的视频,请使用以下语法: markdown ::: video<iframewidth="640"height="360"src="https://www.youtube.com/embed/...
editorDidMount = (editor: any, monaco: any) => {// 获取焦点 editor.focus();//改变属性 editor.updateOptions({//关闭行号lineNumbers: "off",// 不要滚动条的边框overviewRulerBorder: false,// 自适应布局automaticLayout: true,// 复制粘贴格式化formatOnPaste: true,// 自动换行wordWrap: 'on...
html body blockquote{color:#797979} html body pre{page-break-inside:avoid} html body table{display:table} html body img{display:block;max-width:95%;max-height:95%} html body code,html body pre{word-wrap:break-word;white-space:pre} ...
*{color:#3e3e3e;}p{letter-spacing:1px!important;line-height:1.7!important;min-height:1em!important;box-sizing:border-box!important;word-wrap:break-word!important;text-align:justify;margin:20px0!important;}blockquote{background:#f9f9f9;border-left:5px solid #5599FF;margin:1.5em 0px;padding...
TextWrapping Gets or sets the word wrapping behavior. UriPrefix Gets or sets the Prefix of Uri. UseSyntaxHighlighting Gets or sets a value indicating whether to use Syntax Highlighting on Code. WrapCodeBlock Gets or sets a value indicating whether to Wrap the Code Block or use a Horizontal...