Skip to content

nbextensions and nbconvert #847

@tarokiritani

Description

@tarokiritani

Is it possible to use nbextensions with nbconvert? I ran jupyter nbconvert --to html nynotebook.ipynb. Then, toc2 seems to be effective in the resulting html. However, collapsible headings is no longer working.

Based on the previous issue #198, I understand that in order to use nbextensions with nbconvert I need to

  1. make "jupyter_nbconvert_config.py" in jupyter configuration folder (in my win 8.1, User.jupyter),
  2. put nbextension .py files in extensions folder, and
  3. I somehow need to write a template file in User.jupyter\extensions.

Am I mistaken? I have not found collapsible_headings.py in my env, and have not figured out the format of the template file. Could anyone give me pointers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions