-
Five easy pieces #3: Mark this
First stage: file
smile.txt
The All-American Smile In a way he was like the land itself. Everything came to him too easily. But at least he knew it, and from time to time he worried about being a phoney.
Write a single expression that reads the file, follows Markdown rules, and returns an HTML document as a string, e.g.
<html> <body> <p>The All-American Smile</p> <p>In a way he was like the land itself. Everything came to him too easily.</p> <p>But at least he knew it, and from time to time he worried about being a phoney.</p> </body> </html>
Hints: The .h namespace and File Binary; however
.h.ht
is not a solution.
Log in to reply.