html - Notepad++ 如何输入 <html> 并打印整个布局

标签 html notepad++

我使用 notepad++ 有一段时间了,并决定尝试另一种文本编辑器...sublime text。我喜欢在该编辑器中,如果文档保存为 .html,您可以在编辑器中输入内容

html

然后你可以按下tab按钮,它会自动出现:

<html>
<head>
    <title></title>
</head>
<body>

</body>
</html>

鉴于我不想为 sublime text 支付 70 美元,我想知道 notepad++ 是否有这样的功能。也许是我不熟悉的插件?有人知道这样的事情吗?让我知道!请!

最佳答案

尝试 Zen Coding for notepad++ ,来自他们的文档:

Zen Coding is an editor plugin for high-speed HTML, XML, XSL (or any other structured code format) coding and editing. The core of this plugin is a powerful abbreviation engine which allows you to expand expressions—similar to CSS selectors—into HTML code. For example:

div#page>div.logo+ul#navigation>li*5>a...可以展开成:

<div id="page">
        <div class="logo"></div>
        <ul id="navigation">
                <li><a href=""></a></li>
                <li><a href=""></a></li>
                <li><a href=""></a></li>
                <li><a href=""></a></li>
                <li><a href=""></a></li>
        </ul>
</div>

关于html - Notepad++ 如何输入 <html> 并打印整个布局,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15937608/

相关文章:

html - 可以在 html 电子邮件上速记 CSS 吗?

javascript - 在 Javascript 中更改复选框颜色

javascript - Reactabular:如何改变一列的宽度? CSS 文件在哪里?

windows - 通过插件管理器在 Notepad++ 中配置代理设置

javascript - 在 Notepad++ 中编译/运行 Javascript [初学者问题]

带有通配符和斜杠的正则表达式?

javascript - 我如何 'reset' 调用方法?

html - 如何显示以 longblob 形式保存在数据库中的图像?

Notepad++ 如何将窗口放在右侧?

javascript - Notepad++函数列表插件 : Javascript parsing rules to support nested functions