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

Mixed Ascii doc grammar for code highlighting. #1817

Closed
iamkyu opened this issue Sep 19, 2022 · 3 comments
Closed

Mixed Ascii doc grammar for code highlighting. #1817

iamkyu opened this issue Sep 19, 2022 · 3 comments

Comments

@iamkyu
Copy link
Contributor

iamkyu commented Sep 19, 2022

Describe the bug
Two grammar are mixed for code highlighting that I checked.
Example.

  1. [src,Java]
  2. [source,java, indent=0]

I think the first one doesn’t work.
Is there a reason why it is being used this?

Sample
in spring-cloud-contract/getting-started.adoc at main · spring-cloud/spring-cloud-contract · GitHub

public class BaseTestClass
Highlight not working with [src,Java]

public class LoanApplicationServiceTests
Highlight working with [source,java, indent=0]

@marcingrzejszczak
Copy link
Contributor

I guess that's a mistake, are you willing to file a PR to the 3.1.x branch?

@iamkyu
Copy link
Contributor Author

iamkyu commented Sep 19, 2022

@marcingrzejszczak ok, i will

@marcingrzejszczak
Copy link
Contributor

Fixed via #1820

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

3 participants