Open joeworkman opened 11 years ago
Now that I really compare my output with your banner in the code, I see that is not the issue... I think that it may be kramdown itself that is sending output to the terminal. This is what I am seeing.
Converting Markdown-text (113 bytes) to HTML using library kramdown (1.1.0) using options: {}
Nevermind. I see that you intentionally prints the mentioned lines to the terminal. It would be nice if you did not do that.
Sorry. For now you can configure your markdown engine only in the markdown.yml config file e.g. use / try:
kramdown:
banner: false
As a workaround - use Kramdown itself, of course - no need for the Markdown wrapper (if you do NOT intent to change your engine).
Thanks for letting me know about the "Converting Markdown-text (113 bytes) to HTML using library kramdown (1.1.0)" message. This should be configurable too (and probably off by default).
I see that you coded in the ability to not show the banner when kramdown is used. However, I cannot figure out how this is set with the following code...
Markdown.new(markdown).to_html