Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to export without title #5441

Open
1 task done
Vladimirtishenko opened this issue Jan 23, 2025 · 2 comments
Open
1 task done

Ability to export without title #5441

Vladimirtishenko opened this issue Jan 23, 2025 · 2 comments

Comments

@Vladimirtishenko
Copy link

Describe the feature you'd like

Hello,

The application is designed to manage documents, projects, and could use for manage official materials efficiently. For example, I want to create a cover as a template and apply it to all my pages. When I export the document to PDF, the cover is exported together with the main title of the page. However, this is problematic because I want my cover to fit an A4 format, and if the title is already included on the cover, I don’t need it to appear twice.
For me, the export should only include content from the WYSIWYG editor and not from the title field itself.

Let me know if this makes sense!

Image

Describe the benefits this would bring to existing BookStack users

I think the benefits are clearly described. First of all, users can use book covers and export them without additional text from the title. Additionally, there is an extra use case for covers in official documents, for example.

Can the goal of this request already be achieved via other means?

No

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

3 months to 1 year

Additional context

No response

@ssddanbrown
Copy link
Member

Hi @Vladimirtishenko,

I'm not really keen on introducing specific settings/configuration to exports, but you could instead add the following code to the "Custom HTML Head Content" customization setting which should hide the title on page PDF exports:

<style>
  .export-format-pdf #bkmrk-page-title { display: none; }
</style>

@Vladimirtishenko
Copy link
Author

Vladimirtishenko commented Jan 23, 2025

Hello @ssddanbrown, thanks for you answer.
It did work out thanks, i think it solve and issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants