mdoc icon indicating copy to clipboard operation
mdoc copied to clipboard

compile-only cannot be used in combination with reset

Open adpi2 opened this issue 2 years ago • 2 comments

mdoc:compile-only:reset should be valid but it fails with

compile-only cannot be used in combination with reset 

Same for mdoc:compile-only:nest.

adpi2 avatar May 03 '23 14:05 adpi2

https://github.com/scalameta/mdoc/blob/ddebf6268d7f3da00908d7adb29ffe2ce3faa457/mdoc/src/main/scala/mdoc/internal/markdown/FenceInput.scala#L80-L91

adpi2 avatar May 03 '23 14:05 adpi2

Thanks for reporting! I am not sure why it's disallowed actually. We might want to remove that condition, but we would probably need to add some tests.

tgodzik avatar May 04 '23 16:05 tgodzik