tut
tut copied to clipboard
simplified inline hack
One way to satisfy requests for inlining code (as discussed here) would be to turn
The secret is
```tut:inline
println("igloo")
```
and this is the rest of the sentence.
into
The secret is
igloo
and this is the rest of the sentence.
by removing shed markers, repl cruft, and extraneous newlines. The end result would be a single rendered line of text since single newlines become spaces in this context.
It's irritating to use but it's easy to implement and doesn't introduce any new syntax.
/cc @ceedubs
This probably subsumes #34, but not in a satisfying way. :chicken: