I use poly-markdown and want to use variable-pitch mode fonts for the markdown text, and fixed mode fonts for the code blocks.
Mostly using Julia, but also Python (and others occasionally).
Is it possible to do that? I did try something like:
(default ((t (:inherit variable-pitch))))
(markdown-header-face ((t (:inherit serif))))
(markdown-code-face ((t (:inherit fixed-face))))
in custom faces, but that doesn't seem to do the trick.
It does work in pure markdown-mode, but not in poly-markdown-mode.