Open theoctober19th opened 2 years ago
Encountering the same problem.
mkdocs: 1.2.3 mkdocs-material: 8.1.7 mkdocs-with-pdf: 0.9.3
Arch Linux
Fix: add the ol to "content indent" in mkdocs_with_pdf/themes/material.scss in line 69
&>ul, &>ol { margin-left: 1.5rem; }
When building the docs using
mkdocs-with-pdf
, the ordered lists appear far left than where they are supposed to be.Here is what my markdown file looks like:
When viewed on browser, the alignment of ordered list is correct:![image](https://user-images.githubusercontent.com/25663267/150052109-4c827df8-78e0-4d66-a4e0-8bd3d38a9502.png)
But when exported to PDF, the alignment of ordered list is not correct:![image](https://user-images.githubusercontent.com/25663267/150052235-7f1700a8-bf56-4898-90b5-26a41d15d5b0.png)
Here is my
mkdocs.yml
file:The following were used when this issue appeared: