I think this happened because the environment where I did the conversion used an older version of the nbconvert package (6.3.0) - after upgrading that package to version 6.5.0 those margins disappeared.
1 Like