JQuery 用于类似 stackoverflow 的输入文本区域?文本->HTML
我正在寻找一些可以帮助我将文本翻译为 HTML 的文本区域。就像 stackoverflow 输入区域所做的那样。
例如
**bold**
被翻译为 bold
我不确定这叫什么。谢谢!
I am looking for some textarea that help me to translate text to HTML. Like what stackoverflow input area does.
For example
**bold**
is translated to <span><b>bold</b></span>
I am not sure what this is called. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Stackoverflow实际上使用的是WMD编辑器。请参考https://github.com/derobins/wmd
Stackoverflow is actually using WMD editor. Please refer to https://github.com/derobins/wmd