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

show_banner option in kramdown_to_html #3

Open
joeworkman opened this issue Aug 14, 2013 · 3 comments
Open

show_banner option in kramdown_to_html #3

joeworkman opened this issue Aug 14, 2013 · 3 comments

Comments

@joeworkman
Copy link
Contributor

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

@joeworkman
Copy link
Contributor Author

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: {}

@joeworkman
Copy link
Contributor Author

Nevermind. I see that you intentionally prints the mentioned lines to the terminal. It would be nice if you did not do that.

@geraldb
Copy link
Member

geraldb commented Aug 15, 2013

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).

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

No branches or pull requests

2 participants