Код: Выделить всё
AssertionError: unknown new state 'cargs'
Код: Выделить всё
class KotlinCode(Scene):
def construct(self):
code = Code(
code_file="main.kt",
formatter_style="dracula",
paragraph_config={"font": "JetBrains Mono NL", "font_size": 14},
add_line_numbers=False,
)
self.add(code)
Код: Выделить всё
main.ktКод: Выделить всё
fun main() {
println("Hello, world!")
}
Подробнее здесь: https://stackoverflow.com/questions/793 ... for-kotlin
Мобильная версия