danielfrg / mkdocs-jupyter

Use Jupyter Notebook in mkdocs
https://mkdocs-jupyter.danielfrg.com
Apache License 2.0
367 stars 45 forks source link

Paragraph symbol inserted in TOC when building to PDF #153

Closed NickCrews closed 9 months ago

NickCrews commented 1 year ago

I'm not sure what level of the stack this bug is coming from, please direct me to the right place if this isn't the right place.

If I render a notebook with the following first cell of markdown:

# Types and Schemas

It's important to understand the types of data that we're working with.
We use a lot of SQL tables, and it's important to understand the schema
of these tables.

and then render to a PDF using the with-pdf plugin, then the link in the TOC has a weird "next-paragraph" symbol (the other pages are from .md files and appear fine):

image

The rendered HTML of the navbar looks just fine though : <a href="reference/types.html" class="md-nav__link"> Types and Schemas </a>

Perhaps this is an issue with the with-pdf plugin? This is the config that I am using:

site_name: my_site
theme:
  name: material
plugins:
  - search
  - literate-nav
  - offline
  - mkdocs-jupyter:
      execute: true
      allow_errors: false
      show_input: false
  - with-pdf:
      author: Nick Crews
      enabled_if_env: ENABLE_PDF_EXPORT

Thank you for your help!

danielfrg commented 9 months ago

Apologies i was not able to get to this. I dont think its an issue with this plugin