Open zhitom opened 5 years ago
U can make the use of images by embedding the images in the config, by using the base64 option.
https://base64.guru/converter/encode/image/svg
"markdown-pdf.headerTemplate": "<img alt=\"\" src=\"data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+VGVzbGEgaWNvbjwvdGl0bGU+PHBhdGggZD0iTTEyIDUuMzYybDIuNDc1LTMuMDI2czQuMjQ1LjA5IDguNDcxIDIuMDU0Yy0xLjA4MiAxLjYzNi0zLjIzMSAyLjQzOC0zLjIzMSAyLjQzOC0uMTQ2LTEuNDM5LTEuMTU0LTEuNzktNC4zNTQtMS43OUwxMiAyNCA4LjYxOSA1LjAzNGMtMy4xOCAwLTQuMTg4LjM1NC00LjMzNSAxLjc5MiAwIDAtMi4xNDYtLjc5NS0zLjIyOS0yLjQzQzUuMjggMi40MzEgOS41MjUgMi4zNCA5LjUyNSAyLjM0TDEyIDUuMzYybC0uMDA0LjAwMkgxMnYtLjAwMnptMC0zLjg5OWMzLjQxNS0uMDMgNy4zMjYuNTI4IDExLjMyOCAyLjI4LjUzNS0uOTY4LjY3Mi0xLjM5NS42NzItMS4zOTVDMTkuNjI1LjYxMiAxNS41MjguMDE1IDEyIDAgOC40NzIuMDE1IDQuMzc1LjYxIDAgMi4zNDljMCAwIC4xOTUuNTI1LjY3MiAxLjM5NkM0LjY3NCAxLjk4OSA4LjU4NSAxLjQzNSAxMiAxLjQ2di4wMDN6Ii8+PC9zdmc+\" />",
This info should go into Readme.md as this is a very common use case
markdown-pdf.headerTemplate can't use ,this support it? Or How configure it?