Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

formatted PHP code in Microsoft Word

Tags:

php

I would like to save my php code from nusphere phped colour coded to microsoft word. How can I do that?

like image 332
Vish Avatar asked Nov 30 '22 04:11

Vish


1 Answers

i know one way.

open this page: http://qbnz.com/highlighter/demo.php

the above link is the php syntax highlighter on web,

(1) copy and paste your php code to the text area labelled 'Input via a text field:'

(2) go to the 'Options' selectbox below that text area, and choose 'Line numbers: none'

(3) click the 'Highlight!' button at the bottom of the page

(4) the highlighted php code will be shown

(5) select, copy this highlighted code, and paste it into Word. u will see the colored code in your Word document

those' are the detailed steps

hope this may help

like image 129
nicola Avatar answered Dec 10 '22 21:12

nicola