同步操作将从 easysoft/zui 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="description" content="ZUI,一个简单吸引人的前端框架。"><meta name="author" content="Zentao"><title>ZUI - 开源HTML5跨屏框架</title><link href="../css/zui.min.css" rel="stylesheet"><link href="../css/example.css" rel="stylesheet"><script src="../../assets/google-code-prettify/prettify.js"></script><script src="../../assets/jquery.js"></script><script src="../../dist/js/zui.min.js"></script><script src="../assets/js/example.js"></script></head><body onload="prettyPrint()"><article><section id="buttons" class="page-section"><h1 class="header-dividing">代码</h1><h2>类型</h2><h3>内联代码</h3><div contenteditable="true" spellcheck="false" class="segment"><p>通过<code><code></code>标签内嵌一小段代码。</p></div><h3>基本代码块</h3><div contenteditable="true" spellcheck="false" class="segment"><pre><p>Sample text here...</p></pre></div><p>还可以使用<code>.pre-scrollable</code> class,其作用是设置max-height为350px,并在垂直方向展示滚动条。</p></section><h3>代码高亮</h3><p>代码高亮是通过根据代码语言语法给代码中的单词、字符标记为不同颜色来显示的方法。代码高亮能大大提高代码的查阅体验。在web界面加上代码高亮非常容易,在产品中如需要向用户展现代码应该使用代码高亮。</p><p>这里推荐的方案是<a href="https://code.google.com/p/google-code-prettify/" target="_blank">Google Code Prettify</a>实现代码高亮。</p><p>下面是一个php文件的示例:</p><div contenteditable="true" spellcheck="false" class="segment"><pre class="prettyprint linenums"><code><!doctype html> <html lang="en"> <head> <title>Zentao Design Guidelines</title> </head> <body> <?php echo "hello, world!"; ?> </body> </html></code></pre></div></article></body></html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。