Add Livebook README - #2
Conversation
|
Hey @tiagoefmoraes. Thanks for the PR! For context, the reason I kind of abandoned this lib was due to the introduction of the elixir formatter a couple of years ago, which makes the tables look awful. However, I just saw this in Elxiir's CHANGELOG: As far as I understood, that means it would be possible now to use the new plugin API to take over the formatting of the I always liked to use this approach in tests but now with Livebook, it might get even more useful ;) |
|
I had to disable formatting on I had a look if I could implement the formatter, but what I understood is that, right now, it only supports plugins for formating |
Yes! The idea is to format the entire file by calling the built-in formatter first, which is available using format_string!/2, then replacing the |
|
@tiagoefmoraes I just added the formatter plugin! 😉 I'll add some docs later with instructions on how to set it up and then release a new version. |
Includes a
.livemdfile to help with github-linguist/linguist#5672Some samples didn't work with elixir 1.6+ so I did some yak shaving:
If you evaluate the cells now some will fail because of the elixir version. To get all working change the code on Setup section to:
And evaluate all cells with ea to check the outputs.