Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Akhter Rasool
Akhter Rasool
8,597 Points

jQuery Texteditor

hi

how do i highlight text using jQuery and then make it bold,underlined, or italics? I'm creating a text editor(textarea) in my website to do that ?

i also want to select a portion of my text in textarea and print the value of the selected text

1 Answer

jason chan
jason chan
31,008 Points

You use a syntax highliter.

You can check out this library: https://highlightjs.org/