Skip to main content

Hi Folks,

 

Calling all Micro$oft Office wizards out there!

What is the best way to embed CLI commands in a word doc? One so that it does not capitalize things or change the -- into one line?

 

I think you can create a text box or something but cumbersome. There must be a better way!

 

cheers

 

Hi Geoff,
have a look at this site if this solves your problem:

https://www.howtogeek.com/810091/microsoft-word-code-block/


Hi Geoff,
have alook at this site if thos solves your problem:

https://www.howtogeek.com/810091/microsoft-word-code-block/

Sweet.. a very legendary answer 🙂 !


Fine that this has helped you. 😎👍🏼


Hi Geoff,
have alook at this site if this solves your problem:

https://www.howtogeek.com/810091/microsoft-word-code-block/

I think the last options is the best “syntax highlighter”!


depends if you want the reader to be able to use cut/paste with your code. If not, then just screenshots of the terminal console? 


depends if you want the reader to be able to use cut/paste with your code. If not, then just screenshots of the terminal console? 

cut/paste is the goal. People generally don’t want to re-type out a command especially if long. Although I have been reading that doing that makes the brain remember much better than copying and pasting 🙂.

 


depends if you want the reader to be able to use cut/paste with your code. If not, then just screenshots of the terminal console? 

Although I have been reading that doing that makes the brain remember much better than copying and pasting 🙂.

 

I agree! When one copies and paste, there is no way you can remember it. Except you do everything possible to memorise it.


Comment