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

Render includes in markdown exports #5297

Open
JasonGehring opened this issue Oct 29, 2024 · 1 comment
Open

Render includes in markdown exports #5297

JasonGehring opened this issue Oct 29, 2024 · 1 comment

Comments

@JasonGehring
Copy link

Describe the Bug

I am not sure if this is intended behavior, but using the API endpoint or the Export as Markdown function on a Page, will not include the content of an included page. It will come back as {{@123}}

Steps to Reproduce

  1. Include a page with the {{@123}} functionality
  2. Export the page as PDF to confirm the content is Included correctly
  3. Export as Markdown to find the {{@123}} include tag

Expected Behaviour

I would have expected the Markdown to export the included Page, like pdf or plaintext do. Or at least to have the option to include it.

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v24.10

@ssddanbrown ssddanbrown changed the title Included pages not rendered in Markdown export Render includes in markdown exports Oct 30, 2024
@ssddanbrown
Copy link
Member

Hi @JasonGehring,
Yeah, includes won't be handled with markdown, as no parts of the system consider includes when it comes to markdown content, so would need specific added handling.

I've updated this to an export feature request rather than a bug since it's more of a bug relative to expectations rather than a bug in existing functionality.

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