关键词:
1 /* 2 Original style from softwaremaniacs.org (c) Ivan Sagalaev <[email protected]> 3 */ 4 .hljs { 5 display: block; padding: 0.5em; 6 background: #F0F0F0; 7 } 8 .hljs, 9 .hljs-subst, 10 .hljs-tag .hljs-title, 11 .lisp .hljs-title, 12 .clojure .hljs-built_in, 13 .nginx .hljs-title { 14 color: black; 15 } 16 .hljs-string, 17 .hljs-title, 18 .hljs-constant, 19 .hljs-parent, 20 .hljs-tag .hljs-value, 21 .hljs-rules .hljs-value, 22 .hljs-rules .hljs-value .hljs-number, 23 .hljs-preprocessor, 24 .hljs-pragma, 25 .haml .hljs-symbol, 26 .ruby .hljs-symbol, 27 .ruby .hljs-symbol .hljs-string, 28 .hljs-aggregate, 29 .hljs-template_tag, 30 .django .hljs-variable, 31 .smalltalk .hljs-class, 32 .hljs-addition, 33 .hljs-flow, 34 .hljs-stream, 35 .bash .hljs-variable, 36 .apache .hljs-tag, 37 .apache .hljs-cbracket, 38 .tex .hljs-command, 39 .tex .hljs-special, 40 .erlang_repl .hljs-function_or_atom, 41 .asciidoc .hljs-header, 42 .markdown .hljs-header, 43 .coffeescript .hljs-attribute { 44 color: #800; 45 } 46 .smartquote, 47 .hljs-comment, 48 .hljs-annotation, 49 .hljs-template_comment, 50 .diff .hljs-header, 51 .hljs-chunk, 52 .asciidoc .hljs-blockquote, 53 .markdown .hljs-blockquote { 54 color: #888; 55 } 56 .hljs-number, 57 .hljs-date, 58 .hljs-regexp, 59 .hljs-literal, 60 .hljs-hexcolor, 61 .smalltalk .hljs-symbol, 62 .smalltalk .hljs-char, 63 .go .hljs-constant, 64 .hljs-change, 65 .lasso .hljs-variable, 66 .makefile .hljs-variable, 67 .asciidoc .hljs-bullet, 68 .markdown .hljs-bullet, 69 .asciidoc .hljs-link_url, 70 .markdown .hljs-link_url { 71 color: #080; 72 } 73 .hljs-label, 74 .hljs-javadoc, 75 .ruby .hljs-string, 76 .hljs-decorator, 77 .hljs-filter .hljs-argument, 78 .hljs-localvars, 79 .hljs-array, 80 .hljs-attr_selector, 81 .hljs-important, 82 .hljs-pseudo, 83 .hljs-pi, 84 .haml .hljs-bullet, 85 .hljs-doctype, 86 .hljs-deletion, 87 .hljs-envvar, 88 .hljs-shebang, 89 .apache .hljs-sqbracket, 90 .nginx .hljs-built_in, 91 .tex .hljs-formula, 92 .erlang_repl .hljs-reserved, 93 .hljs-prompt, 94 .asciidoc .hljs-link_label, 95 .markdown .hljs-link_label, 96 .vhdl .hljs-attribute, 97 .clojure .hljs-attribute, 98 .asciidoc .hljs-attribute, 99 .lasso .hljs-attribute, 100 .coffeescript .hljs-property, 101 .hljs-phony { 102 color: #88F 103 } 104 .hljs-keyword, 105 .hljs-id, 106 .hljs-title, 107 .hljs-built_in, 108 .hljs-aggregate, 109 .css .hljs-tag, 110 .hljs-javadoctag, 111 .hljs-phpdoc, 112 .hljs-yardoctag, 113 .smalltalk .hljs-class, 114 .hljs-winutils, 115 .bash .hljs-variable, 116 .apache .hljs-tag, 117 .go .hljs-typename, 118 .tex .hljs-command, 119 .asciidoc .hljs-strong, 120 .markdown .hljs-strong, 121 .hljs-request, 122 .hljs-status { 123 font-weight: bold; 124 } 125 .asciidoc .hljs-emphasis, 126 .markdown .hljs-emphasis { 127 font-style: italic; 128 } 129 .nginx .hljs-built_in { 130 font-weight: normal; 131 } 132 .coffeescript .javascript, 133 .javascript .xml, 134 .lasso .markup, 135 .tex .hljs-formula, 136 .xml .javascript, 137 .xml .vbscript, 138 .xml .css, 139 .xml .hljs-cdata { 140 opacity: 0.5; 141 } 142 pre { 143 font-size: 13px; 144 } 145 pre, code { 146 font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; 147 word-wrap: break-word; 148 } 149 .pln { 150 color: #48484C; } 151 .str { 152 color: #DD1144; } 153 .kwd { 154 color: #1E347B; } 155 .com { 156 color: #93A1A1; } 157 .typ { 158 color: teal; } 159 .lit { 160 color: #195F91; } 161 .pun { 162 color: #93A1A1; } 163 .opn { 164 color: #93A1A1; } 165 .clo { 166 color: #93A1A1; } 167 .tag { 168 color: #008; } 169 .atn { 170 color: teal; } 171 .atv { 172 color: #DD1144; } 173 .dec { 174 color: teal; } 175 .var { 176 color: teal; } 177 .fun { 178 color: #DC322F; } 179 /* Put a border around prettyprinted code snippets. */ 180 pre.prettyprint { 181 background-color: #F7F7F9; 182 padding: 0px; 183 border: 1px solid #E1E1E8; 184 tab-size: 4; } 185 pre.prettyprint.linenums { 186 overflow: auto; 187 -webkit-overflow-scrolling: touch; 188 } 189 /* Specify class=linenums on a pre to get line numbering */ 190 pre.prettyprint.linenums ol.linenums { 191 box-shadow: 40px 0 0 #FBFBFC inset, 41px 0 0 #ECECF0 inset; 192 color: #1E347B; 193 padding: 10px 10px 10px 40px !important; 194 margin-top: 0; 195 margin-bottom: 0; 196 } 197 pre.prettyprint.linenums ol.linenums li { 198 color: #BEBEC5; 199 line-height: 18px; 200 padding-left: 12px !important; 201 } 202 pre.prettyprint.linenums ol.linenums li.L0, 203 pre.prettyprint.linenums ol.linenums li.L1, 204 pre.prettyprint.linenums ol.linenums li.L2, 205 pre.prettyprint.linenums ol.linenums li.L3, 206 pre.prettyprint.linenums ol.linenums li.L4, 207 pre.prettyprint.linenums ol.linenums li.L5, 208 pre.prettyprint.linenums ol.linenums li.L6, 209 pre.prettyprint.linenums ol.linenums li.L7, 210 pre.prettyprint.linenums ol.linenums li.L8, 211 pre.prettyprint.linenums ol.linenums li.L9 { 212 list-style-type: decimal !important; 213 }
参考链接:http://www.itdadao.com/articles/c15a1260810p0.html
在为知笔记中使用markdown和思维导图
为知笔记Wiz是一款很好的网摘和笔记工具,作为为知的忠实用户,我在为知收费后第一时间就购买了两年的授权,毕竟这么多年积累的资料都在为知上,我也习惯了使用Wiz来做些工作相关的笔记。为知笔记自带Markdown编辑模式,... 查看详情
html&css基础学习笔记1.7-高亮文本及组合使用
HTML提供了<mark>标签可以让你的文本高亮,这样看起来更加醒目。<mark>标签内的文本会呈现特殊的样式,它和<em>,<strong>一样也是一个带有语义的标签。 代码如下:<!DOCTYPEhtml><htmllang="en"><head> ... 查看详情
windows为知笔记怎么写markdown
1、下载与安装下载:直接通过百度搜索:“为知笔记”直接在第三个结果,选择相应的版本,通过百度软件中心下载下载好,进行安装,mac下直接双击打开后,将为知笔记的图标拖入到“应用程序(Application)”中,windows下双... 查看详情
为知笔记发布到博客园
1发布时,提示“未知错误”原因:API地址填写错误,为知笔记的“帮助”中写的博客园API是错误的,中间填写的不是博客名,而是申请时的域名。http://www.cnblogs.com/申请时的域名/services/metablogapi.aspx 查看详情
有道云笔记去除左下角广告
印象限制登录台数,为知收费,只能投靠有道了,哎! 找到有道云笔记的安装路径,*YoudaoYoudaoNote hemeuild.xml 用笔记本打开这个文件,找到‘左下角广告’这几个字,把下面的代码删掉:<PanelAdtype="adpanel"css="... 查看详情
laravel&html笔记-markdown增加展示时代码高亮功能(代码片段)
结论折腾了几个小时,很简单的功能,方向错了。在此记录下,实现的功能是这样的。将这样的效果:转成这样的效果:这里我在前端添加了点css和js<linkhref="https://cdn.jsdelivr.net/npm/prismjs@v1.x/themes/pri... 查看详情
利用为知笔记发布到博客园中
这个是你注册博客园完后登录之后的地址:http://www.cnblogs.com/linmbbest/services/metablogapi.aspx 查看详情
如何在为知笔记中用markdown创建目录大纲
在为知笔记中用Markdown创建目录大纲的步骤有:工具原料:Markdown①在想要展示Markdown笔记目录的地方,添加 [TOC] ,在阅读模式下,标题1~6样式的内容会被提取出来作为目录;eg:[TOC]###Markdown是什么####Markdown的好处②点击“保存... 查看详情
css文字高亮(代码片段)
快速收集有价值的网页,微博,邮件!
...览器里看到有价值的网页时,点击底端的分享按钮,选择为知笔记,网页内容就保存到为知笔记啦!微博收藏当你在微博上看到感兴趣、有意思的文字或图片时,直接评论或转发此微博时输入@保存到为知笔记,微博内容就保存... 查看详情
快速收集有价值的网页,微博,邮件!
...览器里看到有价值的网页时,点击底端的分享按钮,选择为知笔记,网页内容就保存到为知笔记啦!微博收藏当你在微博上看到感兴趣、有意思的文字或图片时,直接评论或转发此微博时输入@保存到为知笔记,微博内容就保存... 查看详情
js如何实现一个通用的“划词高亮”在线笔记功能(代码片段)
...文章主要介绍了js如何实现一个通用的“划词高亮”在线笔记功能,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。1.什么是“划词高亮... 查看详情
js如何实现一个通用的“划词高亮”在线笔记功能(代码片段)
...文章主要介绍了js如何实现一个通用的“划词高亮”在线笔记功能,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。1.什么是“划词高亮... 查看详情
如何在为知笔记中用markdown创建目录大纲
参考技术A在为知笔记中用Markdown创建目录大纲的步骤有:工具原料:Markdown①在想要展示Markdown笔记目录的地方,添加 [TOC] ,在阅读模式下,标题1~6样式的内容会被提取出来作为目录;eg:[TOC]###Markdown是什么####Markdown的好... 查看详情
小书匠编辑器使用手册
...存储,本地文件系统存储,dropbox,evernote,印象笔记,gitoschina,为知笔记,github等多种存储方案,保证了用户数据的安全,也让用户在存储方案上有了更多的选择。支持evernote,印象笔记。提供双向操作,可以将文章保存到evernote/印象笔... 查看详情
小书匠编辑器使用手册
...存储,本地文件系统存储,dropbox,evernote,印象笔记,gitoschina,为知笔记,github等多种存储方案,保证了用户数据的安全,也让用户在存储方案上有了更多的选择。支持evernote,印象笔记。提供双向操作,可以将文章保存到evernote/印象笔... 查看详情
小书匠编辑器使用手册
...存储,本地文件系统存储,dropbox,evernote,印象笔记,gitoschina,为知笔记,github等多种存储方案,保证了用户数据的安全,也让用户在存储方案上有了更多的选择。支持evernote,印象笔记。提供双向操作,可以将文章保存到evernote/印象笔... 查看详情
织梦channelartlist标签当前栏目高亮(代码片段)
...到:$pv->Fields[‘typeurl‘]=GetOneTypeUrlA($typeids[$i]);在此行代码下方增加以下代码:if($typeids[ 查看详情