use default styles in pdf.less#167
use default styles in pdf.less#167micgro42 wants to merge 1 commit intoselfthinker:masterfrom cosmocode:useDefaultStylesInPDFless
Conversation
This allows to show the default styles in pdf documents created with dw2pdf without having to use explicitly add wrap to the screen styles enabled dwpw2pdf config option. The import is place outside of the .dokuwiki selector, since style.less already includes .dokuwiki selectors itself. For consistency the import of print_or_pdf.less is also moved outside of the selector.
|
However, I'm not really sure why the |
|
Ah, thanks. That explains why it wasn't working for me. The |
|
I just realised what the pattern is. Apart from the images not loading, it is all the classes which include CSS color placeholders which are not working! E.g. the plain box includes |
|
I fixed the color placeholders not working in #172 as suggested in splitbrain/dokuwiki-plugin-dw2pdf#325. |
This allows to show the default styles in pdf documents created with
dw2pdf without having to use explicitly add wrap to the screen styles
enabled dwpw2pdf config option.
The import is place outside of the
.dokuwikiselector, since style.lessalready includes
.dokuwikiselectors itself. For consistency the importof print_or_pdf.less is also moved outside of the selector.