How to put other programming languages?
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.
Rahul Aryan 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: https://github.com/syntaxhighlighter
Rahul Aryan Selected answer as best