{"action":"created","issue":{"url":"https://api.github.com/repos/ipython-contrib/jupyter_contrib_nbextensions/issues/1047","repository_url":"https://api.github.com/repos/ipython-contrib/jupyter_contrib_nbextensions","labels_url":"https://api.github.com/repos/ipython-contrib/jupyter_contrib_nbextensions/issues/1047/labels{/name}","comments_url":"https://api.github.com/repos/ipython-contrib/jupyter_contrib_nbextensions/issues/1047/comments","events_url":"https://api.github.com/repos/ipython-contrib/jupyter_contrib_nbextensions/issues/1047/events","html_url":"https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1047","id":250383908,"number":1047,"title":"[NbConvertApp] WARNING | Config option `codefolding` not recognized by `NbConvertApp`","user":{"login":"lucainnocenti","id":10957113,"avatar_url":"https://avatars2.githubusercontent.com/u/10957113?v=4","gravatar_id":"","url":"https://api.github.com/users/lucainnocenti","html_url":"https://github.com/lucainnocenti","followers_url":"https://api.github.com/users/lucainnocenti/followers","following_url":"https://api.github.com/users/lucainnocenti/following{/other_user}","gists_url":"https://api.github.com/users/lucainnocenti/gists{/gist_id}","starred_url":"https://api.github.com/users/lucainnocenti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucainnocenti/subscriptions","organizations_url":"https://api.github.com/users/lucainnocenti/orgs","repos_url":"https://api.github.com/users/lucainnocenti/repos","events_url":"https://api.github.com/users/lucainnocenti/events{/privacy}","received_events_url":"https://api.github.com/users/lucainnocenti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2017-08-15T17:37:42Z","updated_at":"2017-08-22T09:19:50Z","closed_at":null,"body":"I'm trying to export a notebook containing some `code_folding` into html, following [the relevant section in the guide](http://jupyter-contrib-nbextensions.readthedocs.io/en/latest/exporting.html#retaining-codefolding).\r\n\r\nHowever, when running `jupyter nbconvert --to html --NbConvertApp.codefolding=True mynotebook.ipynb` the `codefolding` option seems to not be recognized, as per the title (I get 4 identical warnings about this), and the output html does not contain any folding.\r\n\r\nI haven't tried the other option mentioned in the guide, that is, to modify the `jupyter_nbconvert_config.py` file, mainly because that file does not already exist in my system, while the guide seems to assume that it does and already contains some other code.\r\nI have the `json` version of the file though, with the following content:\r\n```\r\n{\r\n  \"version\": 1,\r\n  \"Exporter\": {\r\n    \"template_path\": [\r\n      \".\",\r\n      \"/home/lk/anaconda3/lib/python3.6/site-packages/jupyter_contrib_nbextensions/templates\"\r\n    ],\r\n    \"preprocessors\": [\r\n      \"jupyter_contrib_nbextensions.nbconvert_support.CodeFoldingPreprocessor\",\r\n      \"jupyter_contrib_nbextensions.nbconvert_support.PyMarkdownPreprocessor\"\r\n    ]\r\n  }\r\n}\r\n```\r\nSo it looks like the exporting of the code folding should be already enabled, but for some reason it doesn't work."},"comment":{"url":"https://api.github.com/repos/ipython-contrib/jupyter_contrib_nbextensions/issues/comments/323969411","html_url":"https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1047#issuecomment-323969411","issue_url":"https://api.github.com/repos/ipython-contrib/jupyter_contrib_nbextensions/issues/1047","id":323969411,"user":{"login":"jcb91","id":5630710,"avatar_url":"https://avatars0.githubusercontent.com/u/5630710?v=4","gravatar_id":"","url":"https://api.github.com/users/jcb91","html_url":"https://github.com/jcb91","followers_url":"https://api.github.com/users/jcb91/followers","following_url":"https://api.github.com/users/jcb91/following{/other_user}","gists_url":"https://api.github.com/users/jcb91/gists{/gist_id}","starred_url":"https://api.github.com/users/jcb91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcb91/subscriptions","organizations_url":"https://api.github.com/users/jcb91/orgs","repos_url":"https://api.github.com/users/jcb91/repos","events_url":"https://api.github.com/users/jcb91/events{/privacy}","received_events_url":"https://api.github.com/users/jcb91/received_events","type":"User","site_admin":false},"created_at":"2017-08-22T09:19:50Z","updated_at":"2017-08-22T09:19:50Z","body":"> I wonder how difficult it would be just to cut the kernel connection of a live notebook ?\r\n\r\nI'm not sure what you mean by this? Sort of like exporting *all* the notebook frontend, minus kernel connections?"}}
{"actor":{"display_login":"jcb91"}}