l1xnan / obsidian-better-export-pdf

Obsidian PDF export enhancement plugin
MIT License
362 stars 22 forks source link

Document name in header should be a choice #352

Closed Calum-Quinn closed 1 week ago

Calum-Quinn commented 1 week ago

At the moment when you export, the file name is always shown in small text in the center of the header space.

This has nothing to do with the option to Include file name as title which works fine to add a large title at the top.

It would be nice to have the option of not adding the file name at all anywhere.

Thanks!

image image

D-Gaspa commented 1 week ago

I am pretty sure that happens when you have the display header option selected. You can either disable it in the plugin options or change what it should display. The header template is the following as default:

<div style="width: 100vw;font-size:10px;text-align:center;"><span class="title"></span></div>

That is why you see the title centered at the header space.