P
P
pacman6672014-11-15 21:06:43
PHP
pacman667, 2014-11-15 21:06:43

Where can I find a text parser like Google Plus?

I recently noticed a very interesting way to format your own texts in google+
. They can use *bold* and _italic_ text, links are automatic, newlines are also automatic. And this is quite enough for me for my self-written cms. Only here the implementation is lame. I can't properly write a regular expression parser because I can't understand the logic of the google parser.
Can anyone help with the search for ready-made parsers (perhaps in js, perhaps in php)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FanatPHP, 2014-11-15
@FanatPHP

https://www.google.ru/search?q=markdown+php

V
Vladimir Rodkin, 2014-11-15
@VovanR

Parsedown , for example. Here's a demo .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question