Created attachment 203796 [details] Sample template with styles With the recently introduced Writer markdown import filter, we can do markdown -> PDF conversion. But we can't style the used document model, e.g. Heading1 will be the default Writer Heading1 in the PDF output. The request is to make it possible to specify a template document (has no content, just pretty styles) as a cmdline convert-to parameter, so the md->pdf conversion result looks nicer.
Created attachment 203797 [details] Sample markdown input with heading 1 and body text
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7462639341c043bf72560e0ddfff06e1e8879859 tdf#169316 sw markdown import: add a TemplateURL parameter It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6d1312e160ee8c2c0f65b6e0a86333bf3c9c60ce tdf#169316 sw markdown import, template: handle non-ODF formats as well It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.