cancel
Showing results for 
Search instead for 
Did you mean: 
SJT
Valued Contributor

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>

 

Spoiler
Hints: The .h namespace and File Binary; however .h.ht is not a solution.

 

5 Comments