remove nbconvert --to html 'in' and 'out' prompts based on cell metadata
问题 I'd like to remove the red and blue 'In' and 'Out' prompts when running nbconvert --to html , based on cell metadata. With cell metadata such as: {'cell_tags': {'cutcode_html': true}} The following sucessfully removes the 'In' prompt: {% block input_group %} {% if cell['metadata'].get('cell_tags',{}).get('cutcode_html','') == True -%} <div></div> {% else %} {{ super() }} {% endif %} {% endblock input_group %} I'd like to do the equivalent thing for the output prompt. There has been discussion