Home > Development Tools > sublime > How to paste code in Sublime into word (steps with pictures and text)

How to paste code in Sublime into word (steps with pictures and text)

藏色散人
Release: 2022-06-08 20:52:00
forward
3970 people have browsed it

The following tutorial column from sublime will introduce to you how to elegantly paste code in Sublime into word. I hope it will be helpful to friends in need!

For recording tasks, Markdown is already standard, but experimental reports and graduation thesis still cannot avoid word. Here we recommend a sublime plug-in that can elegantly paste the code in sublime into word.

1. Download the SublimeHighlight plug-in (plug-in address) and unzip the

How to paste code in Sublime into word (steps with pictures and text)

plug-in

2. Drag the plug-in into the sublime package management directory

Open the package management directory

How to paste code in Sublime into word (steps with pictures and text)

##Open the package management directory

Drag the

SublimeHighlight-master you just decompressed into the package management directory

How to paste code in Sublime into word (steps with pictures and text)

Drag into the package management directory

3. Restart sublime and change the plug-in

SublimeHighlightConfiguration file

How to paste code in Sublime into word (steps with pictures and text)
##Open the configuration file

{  
    // 在软件包内有图片介绍,可以自己选一个喜欢的
    "theme": "friendly", 
    // 是否添加行号显示 inline是添加, flase是不添加 
    "linenos": "inline",



    // 以下为导出html的选项
    // true为生成内联样式, false则为生成class样式
    "noclasses": true,
    // 字体选项 
    "fontface": "Menlo",
    // 是否将代码导出到一个p中
    "full": false
}
Copy after login

How to paste code in Sublime into word (steps with pictures and text)
Optional style preview

Usage:

How to paste code in Sublime into word (steps with pictures and text)##Right click to call

Paste effectHow to paste code in Sublime into word (steps with pictures and text)

The above is the detailed content of How to paste code in Sublime into word (steps with pictures and text). 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