How to put other programming languages?

Solved148 viewsIssues

I need where to insert the code to supplement with other programming languages how can I do this help please help!!!!

Question is closed for new answers.
Selected answer as best

I am afraid this will be bit complicated. Firstly, you have to add this code to your theme functions.php

add_action( 'wp', function(){
    AnsPress\Addons\Syntax_Highlighter::get_instance()->brushes[] = 'kotlin';
    AnsPress\Addons\Syntax_Highlighter::get_instance()->brushes[] = 'java';

Then you have to upload brush js/css to wp-content/plugins/anspress-question-answer/addons/syntaxhiglighter/syntaxhighlighter.
You can find additional brushes here:

Selected answer as best
You are viewing 1 out of 1 answers, click here to view all answers.