Hydrogen: No kernel for grammar Markdown found

Created on 21 Dec 2017  路  3Comments  路  Source: nteract/hydrogen

Error:

"No kernel for grammar Markdown found
Check that the language for this file is set in Atom and that you have a Jupyter kernel installed for it."

https://nteract.gitbooks.io/hydrogen/docs/Usage/GettingStarted.html

At the bottom of this link it shows: "Multiple kernels inside one rich document
If you are working in a markup file that supports highlighted code blocks, we can handle multiple kernels per file. This way you can write your documentation, readme or paper together with your code while retaining the interactivity of Hydrogen."

Unfortunately even when installing language-markdown at the command line or inside atoms package manager, I still get the error. Any thoughts how it might be remedied?

Looks like a cool feature!

Thanks,
Jason

Most helpful comment

Your cursor should be within a code section of the markdown file like in this gif

This way hydrogen knows what kernel to run based on the grammar inside the code block. If your cursor is in the other sections of the file, the grammar at that cursor point will be markdown and you will see the error you describe.

All 3 comments

Your cursor should be within a code section of the markdown file like in this gif

This way hydrogen knows what kernel to run based on the grammar inside the code block. If your cursor is in the other sections of the file, the grammar at that cursor point will be markdown and you will see the error you describe.

I'm confident that this solution will fix the problem.

@jasonleonhard Do you want to send a PR to clarify our documentation for multi language grammars?

Thank you. I found that the file must be saved, opened and closed before it would to execute as well as the cursor placement inside of the block to be executed.

Awesome Hydrogen!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danbri picture danbri  路  4Comments

Rutrus picture Rutrus  路  4Comments

vader333 picture vader333  路  3Comments

Mungoid picture Mungoid  路  4Comments

lgeiger picture lgeiger  路  3Comments