I have a question that I wanted to ask long ago. W...
# getting-started
v
I have a question that I wanted to ask long ago. Why online Kotlin docs do not display code snippets instantly? One just has to wait few minutes for it to appear
h
They are almost instant (<1s) for me. Maybe fonts loading or javascript loading doesn't work for you and it renders only after the timeout?
m
I suspect because they're loading an editor and executor so there's a lot of backing code. I've forgotten the name of the tool they use, but I see it wraps CodeMirror. If you're on slower internet connection, it appears you notice it. I see a bit of lag sometimes.
I think it's using the Kotlin Playground plugin. https://github.com/JetBrains/kotlin-playground
v
It makes help docs painful to refer to. I sometimes shame myself to ask silly questions in Slack, need to refer to docs, but guys in Slack appear to answer faster than docs load
m
You can download a pdf version of the docs.
On left, at bottom ‘Full Kotlin Reference’ PDF link
v
I used to read it in pdf until such things happened
Today I re-downloaded, so it seems that lost code blocks appeared, but there are problems remain with code snippets