orzih

Results 23 comments of orzih

No, you can't do it. Please try to use [awesome-pages](https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin) or [others](https://github.com/mkdocs/mkdocs/wiki/MkDocs-Plugins).

Hi @alexander-matthiesen. Are you using a material theme? See [material theme's default](https://github.com/squidfunk/mkdocs-material/blob/1e812c61461189f563d841b921a2f054e641610d/src/assets/stylesheets/main/_typeset.scss#L62-L73). e.g. try adding the following to your custom CSS: ```css @media print { .md-typeset { font-size: 0.8rem !important;...

Hi @honschi19. I think this problem is due to a "page break rules" mismatch. e.g.: Try adding the following to your custom CSS: ``` css article div.tabbed-content--wrap { page-break-inside: auto...

**page-break** full reset sample: (`SCSS` format) ```scss article, section + section { page-break-before: always; %headings, img { page-break-after: auto !important; page-break-inside: auto !important; } a, blockquote, table, ul, ol {...

"Libsass" is simple how to use than "pyScss". It is a _very slow_ build image on 'alpine linux', but **not large** size(only 3.6 MB). --- `Dockerfile_without_libsass`: ``` FROM python:3.8-alpine RUN...

Wow! Now, alpine has [native libsass](https://pkgs.alpinelinux.org/packages?name=libsass&branch=edge) package. ```Dockerfile FROM alpine:latest RUN apk update && apk add --update --upgrade --no-cache libsass python3 RUN apk add --update --upgrade --no-cache --virtual .build-deps \...

Thank you for your report. I think this problem is due to WeasyPrint. https://github.com/Kozea/WeasyPrint/issues/36 https://github.com/zhaoterryy/mkdocs-pdf-export-plugin/issues/50 Try adding the following `css`: ```css @media print { table, .md-typeset table:not([class]) { width: 100%;...

Hi @baneageorge. You can try use [Attribute List](https://python-markdown.github.io/extensions/attr_list/#inline) extention. e.g. 1. Configuration in your `mkdocs.yml`. ```yml markdown_extensions: - attr_list ``` 2. Add css class to `td`. ```markdown | Hdr1 |...

It is better not to specify with `px` in printing. The default size of this plugin is "A4(210×297 mm)": https://github.com/orzih/mkdocs-with-pdf/blob/03616f6e9c8e9bb11df7274058479f0cc9d9101f/mkdocs_with_pdf/styles/_paging.scss#L1-L3 You can try to use real measurement units like `mm`,...

_WeasyPrint(v52.2)_ does not yet fully support Web fonts(WOFF/WOFF2). see [WeasyPrint: features fonts](https://weasyprint.readthedocs.io/en/stable/features.html#fonts). I think you can install some fonts in your alpine docker image. Please see here and try it:...