NoRedInk / haskell-verify-examples

WIP
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Verify any markdown #35

Closed stoeffel closed 3 years ago

stoeffel commented 3 years ago

@micahhahn this is what I was thinking about. This changes on top of your PR allow us to verify any markdown files. You can run cabal run exe:generate-documentation -- ./README.md to see how it behaves. What do you think?

micahhahn commented 3 years ago

So I'm curious, did you not like the markdown block generation? I originally had it there so we could automatically generate and inject the HVE results into the README to show what the result would be if you ran it on the console.

stoeffel commented 3 years ago

So I'm curious, did you not like the markdown block generation? I originally had it there so we could automatically generate and inject the HVE results into the README to show what the result would be if you ran it on the console.

oh yes I like it for the purpose of the readme for hve, but I was more thinking that it could also be useful to verify a user's readme and in that case I guess you wouldn't want hve output in your readme. I think maybe a flag would be nice? sorry, I didn't made clear what I was thinking about.