library for input text with sample code

0

I want to implement a forum system on a programming site and am not finding a library that will fit me to format the content of this text area that we use to write our questions and answers. I've seen numerous editors, but they give options as if it were a standard text editor like word, and I just wanted some options being required citation and sample code and image insertion. Just like what happens here. But I did not find any library to give me this code sample (it's the function that uses this {symbol} in this editor we're using now on this site). Does anyone know a lib to tell me?

    
asked by anonymous 04.04.2018 / 13:57

1 answer

1

You can use TinyMCE . It's a textarea with editable freatures. You can leave from only bold and italic, to the possibility of viewing the html code being generated from behind, among others. I have been using it for some time, it's very good.

    
04.04.2018 / 14:01