<div dir="ltr">Hi all<div><br></div><div>I was trying to make a standard template to export a notebook to a basic html format in order to provide a simple template with ipy2wp (<a href="https://github.com/Pybonacci/ipy2wp">https://github.com/Pybonacci/ipy2wp</a>, asnd IPython notebook to html converter and publisher for the wordpress platform) to allow people to customise their own templates.</div><div><br></div><div>After some hacking I can't avoid all the:</div><div><br></div><div><div><div class="cell border-box-sizing code_cell rendered"></div><div><div class="input"></div><div><div class="input"></div><div><br></div><div><div class="inner_cell"></div><div><div class="input_area"></div><div><div class="highlight"></div></div><div>...</div><div><br></div><div>And other stuff that is introduced with the basic.tpl (html) template.</div><div><br></div><div>I can post process the final converted html but I think it would be easier to do it directly with nbconvert and Jinja2.</div><div><br></div><div>Can someone point me to some docs or examples to try to understand how the conversion is done. I read the exporters code, the preprocessors code, I tried to learn a little bit about Jinja2 but I'm no able to create a template to extend basic.tpl and can do what I want. I don't know when all the nbconvert machinery is adding all this tags, the prompts,...</div><div><br></div><div>P.D.: I already looked at nbconvert-examples repo, I googled and tried to search in the mailist,... :-(</div><div>P.D.2: I will try to write something in the wiki or create a notebook explaining the process in order to let other people customise their own templates.</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Kind regards.</div></div>