Skip to content

Conversation

DarkMatter-999
Copy link

@DarkMatter-999 DarkMatter-999 commented Oct 5, 2025

closes #4318

Changes

Added ktm and ktx as an alias for Kotlin in src/languages/kotlin.js

Testing instruction:

hljs.getLanguage("kts").name;
hljs.getLanguage("ktx").name;
hljs.getLanguage("ktm").name;
image
<pre><code class="language-kts">
    // Code here.
</code></pre>

<pre><code class="language-ktx">
    // Code here.
</code></pre>

<pre><code class="language-ktm">
    // Code here.
</code></pre>

Checklist

  • Added markup tests, or they don't apply here because...
  • Updated the changelog at CHANGES.md

@DarkMatter-999 DarkMatter-999 marked this pull request as ready for review October 5, 2025 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(Kotlin) kts should be recognized as Kotlin

2 participants