LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Converting Text To HTML (https://www.linuxquestions.org/questions/programming-9/converting-text-to-html-24964/)

Glock Shooter 07-03-2002 02:06 PM

Converting Text To HTML
 
I'm trying to convert some python code to HTML. I have found some utilities that will do it, however, for easier reading I would like something that will convert the color of the text as well....any suggestions?

pickledbeans 07-03-2002 02:21 PM

How are you storing colors in plain text?

pickledbeans 07-03-2002 02:22 PM

Could alway post this to the python mail list or news group

Glock Shooter 07-03-2002 03:30 PM

I'm not storing it as plain text, just copying it out of a python shell which has the text formatted in color....

pickledbeans 07-03-2002 05:10 PM

Do you mean you want to display you python code in html with color syntax high lighting? Kind of like with PHP
when we use the phps extension?

Glock Shooter 07-03-2002 05:21 PM

iI'm not familiar with php but yes, I want the color coding of the python syntax to be carried over when converting the text to html

pickledbeans 07-03-2002 06:08 PM

My suggestion would be post a message to one of the Python mailing list info can be found at this link:

http://python.org/psa/MailingLists.html

The python-help@python.org and python-tutor are very helpfull.


All times are GMT -5. The time now is 01:23 PM.