Home > Development Tools > sublime > body text

sublime Text 3 emmet method to customize HTML template

藏色散人
Release: 2019-12-02 14:37:37
forward
4528 people have browsed it

The following tutorial column of sublime text 3 will introduce to you how emmet customizes HTML templates. I hope it will be helpful to friends in need!

sublime Text 3 emmet method to customize HTML template

1. Download Emmet

https://github.com/sergeche/emmet-sublime

2. Open the sublime Package package directory. Windows is usually under C:\Users\userName\AppData\Roaming\Sublime Text 3\Packages\. Create the Emmet directory in the Package directory, and unzip and copy the downloaded file to this directory

3. HTML template content can be configured in Emmet/emmet/snippets.json.

a) Find html .abbreviations.doc can define the content stored in the header and body tags in HTML.

b) Variables can be applied to html.abbreviations.doc strings. Variables are defined in variables. Use ${ in strings. Just enter the variable name}.

4. After defining, restart sublime, create an HTML file, enter! or html:5, and press the tab key.

The above is the detailed content of sublime Text 3 emmet method to customize HTML template. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template