Anton Sviridov
Anton Sviridov
Given that fastparse is already shadowed, we can do the same with geny and sourcecode
So you mean having fastparse_2.13 depend on geny_3 and sourcecode_3 instead? I think this will lead to opposite problem in 2.13 artifacts downstream (i.e. mdoc_2.13), as they will now have...
Yep, I'm all for inlining at first, to remedy the current pain points. I'm still eager to at least start on some of the macros, but may be in a...
Modified the plan to inline both sourcecode and geny first, as it's best risk/reward move at this stage.
@tgodzik I remember you mentioned something about scala 3 and pprint in mdoc.. I had to modify a few tests to make them work - not actually sure why, but...
I think a modifier like `no-pprint` will be very welcome, by, say, FP folks. That said, I can restore the old behaviour on Scala 3 - I'm just not sure...
For CE3 it's slightly simpler btw, I believe a similar approach is used in the mdoc documentation of cats effect itself: https://github.com/indoorvivants/mdoc-effect/blob/master/core/src/main/scala/captureStdOut.scala#L43-L48
Sorry, I messed up - I meant the tests :( https://github.com/typelevel/cats-effect/blob/d9285906a0b8f3c1b902549cae2781ebc4b90ee7/tests/shared/src/test/scala/cats/effect/std/ConsoleSpec.scala#L28 The docs don't do this and that's why in a few of them there's no output - mdoc sends...
Just checked - it's still there in 2.2.10: ``` ✗ cs launch org.scalameta::mdoc:2.2.10 -- --in test-trailing.md --out test-trailing-out.md && cat test-trailing-out.md ``` **test-trailing.md** ```` ```scala mdoc:compile-only val (a, b) =...
I can trace it to this line: https://github.com/scalameta/mdoc/blob/master/mdoc/src/main/scala-2/mdoc/internal/markdown/Renderer.scala#L124 And the issue is that the position of the statement is reported up to the comment section, so if you have 2...