solonovamax
09/06/2023, 5:59 PM=== "Kotlin"
```kotlin
// kotlin code here
=== "Java"
java
// java code here
```
(syntax is open to change, however this is how it is handled by mkdocs material)
which will then create two tabs named "Kotlin" and "Java". clicking on the kotlin one will display the kotlin code and clicking on the java one will display the java code.
in order to do this, I must hook into both the markdown parser (to parse it correctly) and the html generator (to generate the correct html)
(of course, additional js scripts must be added, however that can be done without too much issue)
are these extension points planned? if not, it would be awesome if it was added to a to-do listAndrea Falcone
09/07/2023, 3:44 PMsolonovamax
09/07/2023, 4:56 PMAndrea Falcone
09/07/2023, 5:52 PM