javascript - Now the project has a requirement for a question function similar to segmentfault

WBOY
Release: 2016-08-04 09:19:29
Original
932 people have browsed it

The question is written on the left and displayed on the right, and it must support code highlighting
I don’t know what front-end framework to use. It can be said to be the complete version of segmentfault questioning function

Reply content:

The question is written on the left and displayed on the right, and it must support code highlighting
I don’t know what front-end framework to use. It can be said to be the complete version of segmentfault questioning function

SegmentFault’s Markdown parser HyperDown.

Just find a library that can parse markdown

The editor used by SF is Bach's Editor
SF's markdown parsing, the JavaScript version is used when editing, and the PHP version is used when viewing Q&A

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!