-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add support for languages other than python #25
Comments
Is it configurable? I wonder if we should make it configurable? If the kernel is not available/enabled then I guess it would be preferable to generate a Markdown cell? |
@prudhomm could you please provide a notebook which uses a Jupyter kernel for the C++ programming language? I want to check the value of the Currently, we are using: {
"metadata":{
"language_info": {
"name": "python",
"version": "3.9.1"
}
}
} |
I found an example file at: https://github.com/jupyter-xeus/xeus-cling {
"metadata": {
"kernelspec": {
"name": "xcpp17",
"display_name": "C++17",
"language": "C++17"
},
"language_info": {
"codemirror_mode": "text/x-c++src",
"file_extension": ".cpp",
"mimetype": "text/x-c++src",
"name": "c++",
"version": "17"
}
}
} |
By default, we should probably set the {
"metadata": {
"kernelspec": {
"name": "python3",
"display_name": "Python 3",
"language": "python"
}
}
} |
Great you found the information. Do you need something else? |
@ggrossetie le notebook is ok under vscode but not in jupyter an extra space is probably needly after/before code blocks |
This should be fixed by #28 |
We need to decide how to configure the kernel.
I think we should introduce two additional attributes:
We should probably use |
this seems to be a good plan ! |
Jupyter supports various kernels for different languages eg C++ Julia, Rust ...
it would nice to generate code cells automatically when we have
here is an example https://deploy-preview-9--cours-cpp-incandescent-llama-63edb8.netlify.app/cours-cpp/cours1/#_les_flux_dentr%C3%A9essorties
you can. download the jupyter file
asciidoctor-jupyter does not generate a code cell but rather a markdown cell with code. I generated it by hand after and show the image below
The text was updated successfully, but these errors were encountered: