Does Code highlight plugin work on answers, or only questions?

Viewed 153

I just installed the code highlight plugin to our local Answer installation, expecting that highlighting would enable for both questions and answers. But, it seems that it is only applying the code highlighting to question blocks, not to answer blocks.

Is this the expected behavior, a bug, or some misunderstanding or misconfiguration on my end?

1 Answers

After local testing, both questions and answers support code highlighting, as shown below:
image.png

Example:

console.log('Hello Answer');

Answer version: 1.4.2

I hope to provide more information to troubleshoot this issue.

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Answer Meta.