Home >Backend Development >PHP Tutorial >javascript - How are these functions of input code and input link implemented in segmentfault?

javascript - How are these functions of input code and input link implemented in segmentfault?

WBOY
WBOYOriginal
2016-09-14 09:41:19947browse

Baidu

<code>echo "php";</code>

How these functions are implemented

Reply content:

Baidu

<code>echo "php";</code>

How these functions are implemented

Static html+css

The syntax is Markdown, you can read these articles: https://segmentfault.com/t/ma...
Use a Markdown parser to convert to html when displaying. There are Markdown parser implementations in different languages, github You can find it on

Statement:
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