realworldocaml / mdx

Execute code blocks inside your documentation
ISC License
269 stars 45 forks source link

Add an 'exec' label to execute include OCaml blocks #450

Open gpetiot opened 8 months ago

gpetiot commented 8 months ago

Follow up on #446

The code of https://github.com/panglesd/mdx/commit/85b9142fb0d83b187989bf330d37fa5b9ee8556b is already squashed, so that's a more difficult to go back in time. I couldn't re-create that behavior yet.

@panglesd if you see something weird with the exec/skip interaction for the ocaml includes I'm interested :)

panglesd commented 8 months ago

Will have a look, but we need some logic to add this to the dependencies as pointed here!