Added crayon syntax highlighter support

3.54K 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.


You are viewing 1 out of 1 answers, click here to view all answers.