Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is putStrLn output supposed to go? #72

Open
saurabhnanda opened this issue Mar 9, 2020 · 1 comment
Open

Where is putStrLn output supposed to go? #72

saurabhnanda opened this issue Mar 9, 2020 · 1 comment

Comments

@saurabhnanda
Copy link

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?

@NickSeagull
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants