You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to embed my markdown content in the Haskell source in a manner similar to file-embed but (obviously) as MMark documents instead of ByteString.
The primary benefit here is that we fail at compile time if any of the markdown files (in the repository) fails to parse.
Would implementing this feature in this primary repo be within its scope, or is it best done as a separate library? I'm only beginning to get familiar TH, so not yet sure how trivial to implement this would be.
The text was updated successfully, but these errors were encountered:
Yes, I guess this is in scope. I thought of something like this myself, but decided that would be not a very popular use case, but you seem to confirm that it's not so. For inspiration see:
I'd like to embed my markdown content in the Haskell source in a manner similar to
file-embed
but (obviously) asMMark
documents instead ofByteString
.The primary benefit here is that we fail at compile time if any of the markdown files (in the repository) fails to parse.
Would implementing this feature in this primary repo be within its scope, or is it best done as a separate library? I'm only beginning to get familiar TH, so not yet sure how trivial to implement this would be.
The text was updated successfully, but these errors were encountered: