Inkscape layers in the Jupyter notebook.
Activate inkscapelayers
%load_ext inkscapelayers
Assuming an SVG drawing.svg
with the following layers:
root
├─ foreground 1
│ └─ foreground 1.1
└─ foreground 2
Use the Markdown image notation to add an SVG, with a URL fragment of
#layers=layer to show|another layer to show
:
![alt text](drawing.svg#layers=foreground 2|foreground 1.1)
Works great with RISE for using SVG in presentations.