Hi, I’m don’t know if this is the correct channel ...
# feed
m
Hi, I’m don’t know if this is the correct channel for this question but I’m writing a post in medium about refactoring and I want to show the changes in the code understandably, maybe showing the code before and after or using a gif. Can you recommend some tools to do this?
k
m
ok, but I need to create a gist for every change, right?
k
yes
👌 1
r
Also, as a heads up, this isn't the right channel. According to the channel topic:
Post links to interesting things about Kotlin. Discuss in relevant channel, not here.
This would fit better in #random.
👌 1
m
Sorry
r
No apology needed 🙂. Unfortunately channel topics aren't very discoverable in slack, so many people don't even realize they exist.
c
Depending how cheap you want to get, if you copy-paste something from IntelliJ it will add HTML to your text so it has coloration. It's very useful to send code snippets by email, for example.
1
👌 1
m
this is also a nice tool to generate graphical code samples: https://carbon.now.sh/
k
images are a problem. you can't copy & paste the sample code.
m
thanks, I’m using this https://play.kotlinlang.org/ with the link to share in medium
k
nice, that's a good idea
👍 1