Home  >  Article  >  Development Tools  >  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)

藏色散人
藏色散人forward
2022-01-22 17:00:253921browse

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
}

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!

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