ktfmt icon indicating copy to clipboard operation
ktfmt copied to clipboard

Update the pics in [demo](https://github.com/facebook/ktfmt#demo)

Open atulgpt opened this issue 2 years ago • 4 comments

I tried with the latest ktlint and tried to run the sample code shown in the demo. And some of the result is updated we should update the screenshot over there

My findings are as below

Original code orig

Formatted code formatted

atulgpt avatar Aug 08 '23 20:08 atulgpt

If you want, you could update those yourself @atulgpt, we'd be happy to merge your Pull Request

hick209 avatar Aug 24 '23 13:08 hick209

HI, @hick209 is the current code, font, and colour theme ok or is there any particular preference for it? Is there any way we can get the access to the code used to create those examples?

atulgpt avatar Aug 24 '23 17:08 atulgpt

@atulgpt they LGTM. If you could remove any visual artifacts such as the red symbols and red squiggly line, that would be great 😃

hick209 avatar Aug 24 '23 18:08 hick209

cc @cgrushko in case you have strong thoughts about this

hick209 avatar Aug 24 '23 19:08 hick209