Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Extended API Description code syntax highlighting #2606

Open
nosbuka opened this issue Oct 14, 2023 · 0 comments
Open

The Extended API Description code syntax highlighting #2606

nosbuka opened this issue Oct 14, 2023 · 0 comments

Comments

@nosbuka
Copy link

nosbuka commented Oct 14, 2023

Apiman Version

3.2.1.Final

Apiman Manager Distro

WildFly

Apiman Gateway Distro

Vert.x

Java Version

openjdk version "14.0.2" 2020-07-14
OpenJDK Runtime Environment (build 14.0.2+13)
OpenJDK 64-Bit Server VM (build 14.0.2+13, mixed mode, sharing)

Operating System

CentOS Linux release 7.8.2003

Are you running Apiman in a container, or on an orchestration platform?

Docker Compose

Describe the bug

In the Extended API Description I use markdown syntax to write some code fragments.
At Portal page the javascript code syntax highlights, but java or sql is not.

Here is the editor of Manager:
Снимок экрана 2023-10-15 в 00 45 36

And here is a result in Portal:
Снимок экрана 2023-10-15 в 00 46 40

Expected behaviour

I expect Portal to highlight syntax of all the default languages that Prism supports (java, kotlin, sql, etc.).

Actual behaviour

The Portal highlights several language syntax (js, css), but not java, sql.

How to Reproduce

Add code fragments in the Extended API Description

Relevant log output

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant