Added crayon syntax highlighter support

4.65K viewsThemesfeature Update

I have implemented the crayon syntax highlighter support in AnsPress editor, now you can easily add codes to question and answer.

Make sure to read this How to enable code button and syntax highlighter

Some examples:

public function check_recaptcha()
	$recaptcha = new \ReCaptcha\ReCaptcha(ap_opt('recaptcha_secret_key'));
	$resp = $recaptcha->verify($_POST['g-recaptcha-response'], $_SERVER['REMOTE_ADDR']);
	if ($resp->isSuccess())
		return true;

	return false;

Link in the post is not working


Can i get some support on this ? I can’t make it work. Following also the Blog post here, i fail.