i have found this project
http://code.google.com/p/google-code-prettify/
i've tested it and it works fine
but it only works with (<pre>
)
i want use it with (<textarea>
)
but if i replace <pre>
to <textarea>
it's not working !!
So how to use this script with textarea?
Have you tried codemirror?
It does what you want: prettify code in textarea.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With