Home  >  Article  >  Development Tools  >  Sublime implements quick encapsulation of code blocks

Sublime implements quick encapsulation of code blocks

藏色散人
藏色散人forward
2019-09-17 14:55:052727browse

Sublime Generally refers to SublimeText, which is a code editor and an advanced text editor for HTML and prose. Below, the sublime tutorial column will introduce you to Sublime’s quick method of encapsulating code blocks. I hope it will be helpful to friends in need!

Sublime implements quick encapsulation of code blocks

#Sublime implements quick and easy encapsulation of code blocks.

First: Copy the code block to be encapsulated, such as the following code.

Sublime implements quick encapsulation of code blocks

Second: Find "New Code Block" in the tool.

Sublime implements quick encapsulation of code blocks

Sublime implements quick encapsulation of code blocks

Third: Paste the required code snippets. If there is $, you need to add "" in front.

Sublime implements quick encapsulation of code blocks

Fourth: Save. Has been completed. .

Sublime implements quick encapsulation of code blocks

Fifth: Use.

Sublime implements quick encapsulation of code blocks

The above is the detailed content of Sublime implements quick encapsulation of code blocks. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete