Files
Thesis/share/jupyter/nbconvert/templates/base/cell_id_anchor.j2

6 lines
160 B
Django/Jinja

{%- macro cell_id_anchor(cell) -%}
{% if cell.id | length > 0 -%}
id="{{ ('cell-id=' ~ cell.id) | escape_html -}}"
{%- endif %}
{%- endmacro %}