convert text to HTML for forums
This is a simple module for converting texts to HTML for forums.
Markdown is not a good choice for forums, so I'd like to create one.
As I talked at http://v2ex.com/t/71902 and https://github.com/cnodejs/nodeclub/issues/169
- Highlight common used keywords for programming languages
- A option list for the strings you want to highlight
- Links will be recognized
- Simple Links of images will be recognized
- This is used togather with
- Use monospaced font for contents
- CSS is used to configure the colors
- Keywords like
- Strings cannot be markuped here
Get this module from NPM:
npm install talk-highlight
Use it in your code:
Or read the
test/ for more details.