public function parse($text)
	{
		$this->prepare();

		if (ltrim($text) === '') {
			return '';
		}

		$text = str_replace(["\r\n", "\n\r", "\r"], "\n", $text);

		$this->prepareMarkers($text);

		$absy = $this->parseBlocks(explode("\n", $text));
		$markup = $this->renderAbsy($absy);

		$this->cleanup();
		return $markup;
	}
public function parse($text)
	{
		$this->prepare();

		if (ltrim($text) === '') {
			return '';
		}

		$text = str_replace(["\r\n", "\n\r", "\r"], "\n", $text);

		$this->prepareMarkers($text);

		$absy = $this->parseBlocks(explode("\n", $text));
		$markup = $this->renderAbsy($absy);

		$this->cleanup();
		return $markup;
	}
public function parse ( $ text ) { $ this -> prepare ( ) ; if ( ltrim ( $ text ) === '' ) { return '' ; } $ text = str_replace ( [ "\r\n" , "\n\r" , "\r" ] , "\n" , $ text ) ; $ this -> prepareMarkers ( $ text ) ; $ absy = $ this -> parseBlocks ( explode ( "\n" , $ text ) ) ; $ markup = $ this -> renderAbsy ( $ absy ) ; $ this -> cleanup ( ) ; return $ markup ; }
Parses the given text considering the full language.

This includes parsing block elements as well as inline elements.

@param string $text the text to parse
@return string parsed markup
Parses the given text considering the full language .