Added support of inline examples in docs

Resolved #709