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

Add highlighting for Kotlin #227

Open
daincredibleholg opened this issue Nov 29, 2021 · 2 comments
Open

Add highlighting for Kotlin #227

daincredibleholg opened this issue Nov 29, 2021 · 2 comments

Comments

@daincredibleholg
Copy link

Is your feature request related to a problem? Please describe

I am one of the Java Advent organizers and with Kotlin's popularity going further through the roof it starts getting problematic that articles about Kotlin can't have properly highlighted code snippets.

Describe the solution you'd like

In addition to [java], a [kotlin] block (and similar) would be helpful

@krzema12
Copy link

Hi @daincredibleholg, in my 2022 article for Java Advent I used embedded GitHub Gists snippets, see https://www.google.com/amp/s/www.javaadvent.com/2022/12/how-i-got-rid-of-yaml-in-githubs-ci.html/amp. The only disadvantage I see is that the article isn't self-contained, so if someone removes the gist, the article will lose the piece of code as well. Anyway, I think it's a good workaround at least.

@daincredibleholg
Copy link
Author

You are absolutely correct, @krzema12. For now, it should do. We need a more portable / independent fix, though.

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

2 participants