tintin icon indicating copy to clipboard operation
tintin copied to clipboard

Where is putStrLn output supposed to go?

Open saurabhnanda opened this issue 5 years ago • 1 comments

From the docs:

If you print something (putStrLn) it will get appended to the website. You can use this to generate HTML widgets.

I tried doing this, but the output is showing-up at the very top of the rendered markdown/html instead of immediately after the code-block containing the putStrLn statement.

Is this the expected behaviour?

What is the use-case for this feature, btw?

saurabhnanda avatar Mar 09 '20 04:03 saurabhnanda

I'm not sure about this, it is an implementation detail of inliterate which is what we use under the hood for generating HTML

NickSeagull avatar Mar 09 '20 07:03 NickSeagull