1 | initial version |
The source of the problem is described by William Stein in CoCalc GitHub as the presence of the 3 lines
a[href]:after {
content: " (" attr(href) ")";
}
in a .ccs file used by nbgrader. I believe he will provide an optimized for CoCalc and described a workaround, but this may not propagate to local installations.
On my local Win 10 Sagemath 9.3 installation, I found the offending 3 lines in 2 copies of style.min.css (around lines 202/4). Removing these lines solved the problem with my local installation. The same lines can be removed from an existing .html file to allow proper printing as pdf in any browser.
2 | No.2 Revision |
The source of the problem is described by William Stein in CoCalc GitHub as the presence of the 3 lines
a[href]:after {
content: " (" attr(href) ")";
}
in a .ccs file used by nbgrader. I believe he will provide an optimized solution for CoCalc and described a workaround, but this may not propagate to local installations.
On my local Win 10 Sagemath 9.3 installation, I found the offending 3 lines in 2 copies of style.min.css (around lines 202/4). Removing these lines solved the problem with my local installation. The same lines can be removed from an existing .html file to allow proper printing as pdf in any browser.