Giter VIP home page Giter VIP logo

Comments (7)

danielfrg avatar danielfrg commented on May 22, 2024 1

Version 0.18.1 includes the fix. let me know if you find other issues.

from mkdocs-jupyter.

danielfrg avatar danielfrg commented on May 22, 2024

Thanks for the reports, it was just that we had python hardcoded since its the one I use the most.
I am reading now the kernel language name from the ipynb json so it should be fixed on #52.

from mkdocs-jupyter.

fortierq avatar fortierq commented on May 22, 2024

Great ! Thank you.

from mkdocs-jupyter.

fortierq avatar fortierq commented on May 22, 2024

Hum... In the notebooks I have, some of them don't have the language field in kernelspec. Only something like this :

  "kernelspec": {
   "display_name": "Python 3.9.6 64-bit ('base': conda)",
   "name": "python3"
  },

I am adding them manually, but I wonder if this could be an issue with some IDE not adding those.

from mkdocs-jupyter.

danielfrg avatar danielfrg commented on May 22, 2024

mmm it could be. The nbs I have have it. I added a test and it will default to python just in case.

from mkdocs-jupyter.

fortierq avatar fortierq commented on May 22, 2024

It looks like the code inside markdown cells, such as
```ocaml
```
are not highlighted correctly.

For example : https://mp2i-fsm.github.io/mp2i-2021/1_ocaml/tp/tp1/

Do you know how to fix it ?

from mkdocs-jupyter.

danielfrg avatar danielfrg commented on May 22, 2024

Mmm annoying... i bet those go through a different parser. I'll try to take a look.

from mkdocs-jupyter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.