infima
infima copied to clipboard
TOC should be allowed to display with @media print
When printing a doc (or sending it to your Kindle) it should be possible to print the table of contents in certain situations.
Hiding the right TOC makes sense in most cases, but not in many others.
It is likely more the responsibility of Docusaurus to decide when a TOC can be printed, not Infima which currently does:
.table-of-contents {
@media print {
display: none;
}
}
https://docusaurus.io/docs/next/markdown-features/toc#inline-table-of-contents
Reported in https://github.com/facebook/docusaurus/discussions/8362