Export .MD file in addition to HTML and PDF #1408

Closed
opened 2026-02-05 00:49:09 +03:00 by OVERLORD · 10 comments
Owner

Originally created by @caseydierking on GitHub (Oct 15, 2019).

Describe the feature you'd like
The ability to export single or bulk pages in .MD format instead of HTML or PDF

Describe the benefits this feature would bring to BookStack users
Let me preface this by saying I love bookstack.
I want to be able to backup my files to a flat file structure and share them as I need to at the file level. I know we have HTML and PDF options for exporting, but I would love to be able to export the file directly to markdown.

A lot of times, I write documentation for my company in bookstack and transfer that information over to our other static site generator for our docs. This would be a handy feature for me.

Originally created by @caseydierking on GitHub (Oct 15, 2019). **Describe the feature you'd like** The ability to export single or bulk pages in .MD format instead of HTML or PDF **Describe the benefits this feature would bring to BookStack users** Let me preface this by saying I love bookstack. I want to be able to backup my files to a flat file structure and share them as I need to at the file level. I know we have HTML and PDF options for exporting, but I would love to be able to export the file directly to markdown. A lot of times, I write documentation for my company in bookstack and transfer that information over to our other static site generator for our docs. This would be a handy feature for me.
OVERLORD added the 🔨 Feature Request🏭 Back-End labels 2026-02-05 00:49:09 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Oct 16, 2019):

Hi @caseydierking,
Thanks for the request. At some point of the upcoming API build we'll look to handle conversion between HTML and Markdown on the back-end (Current conversion is done client-side only), At that point it should be a quick job to enable markdown as an export option. Could technically implement it sooner but I'd prefer to build the feature for all users rather than needing to add dynamic control to export options dependant on what page editor is in use.

Somewhat related to #1273.

@ssddanbrown commented on GitHub (Oct 16, 2019): Hi @caseydierking, Thanks for the request. At some point of the upcoming API build we'll look to handle conversion between HTML and Markdown on the back-end (Current conversion is done client-side only), At that point it should be a quick job to enable markdown as an export option. Could technically implement it sooner but I'd prefer to build the feature for all users rather than needing to add dynamic control to export options dependant on what page editor is in use. Somewhat related to #1273.
Author
Owner

@caseydierking commented on GitHub (Oct 16, 2019):

Thanks for the response @ssddanbrown . Also thank you for your time and effort into this project. I'm impressed at how well thought out your responses are to issues and feature requests.

Is there a current roadmap on development for the API? Anything others can do to help contribute?

Thanks,

@caseydierking commented on GitHub (Oct 16, 2019): Thanks for the response @ssddanbrown . Also thank you for your time and effort into this project. I'm impressed at how well thought out your responses are to issues and feature requests. Is there a current roadmap on development for the API? Anything others can do to help contribute? Thanks,
Author
Owner

@ssddanbrown commented on GitHub (Oct 16, 2019):

@caseydierking Thanks!

No official roadmap specifically for the API. For the next release we'll probably have the auth mechanism and endpoints for one focused thing (Like just books) so it can be tested and feedback can be provided before we span it out to cover most BookStack actions.

Just a case of me finding the time to get started on it.

@ssddanbrown commented on GitHub (Oct 16, 2019): @caseydierking Thanks! No official roadmap specifically for the API. For the next release we'll probably have the auth mechanism and endpoints for one focused thing (Like just books) so it can be tested and feedback can be provided before we span it out to cover most BookStack actions. Just a case of me finding the time to get started on it.
Author
Owner

@XVilka commented on GitHub (Oct 17, 2019):

I think the second, related option should be also "Export MD with attachments", that will produce Markdown file, add the attached images/other files, then put everything in ZIP for downloading.

@XVilka commented on GitHub (Oct 17, 2019): I think the second, related option should be also "Export MD with attachments", that will produce Markdown file, add the attached images/other files, then put everything in ZIP for downloading.
Author
Owner

@dl-lim commented on GitHub (Sep 22, 2020):

Hey, new to this project, and already loving it! How are pages and books currently stored? I can't seem to find the directory in which they are stored. Is this all done in the MYSQL database?

Would it be possible to keep pages and books stored on a directory openly as .md files, as an option? I would love to store some important info using bookstack to manage, and would especially be useful if the files are not easily accessible in the event of a crash/whatever.

Not sure if this deserves its own FR, so pinging for some thoughts first :)

@dl-lim commented on GitHub (Sep 22, 2020): Hey, new to this project, and already loving it! How are pages and books currently stored? I can't seem to find the directory in which they are stored. Is this all done in the MYSQL database? Would it be possible to keep pages and books stored on a directory openly as .md files, as an option? I would love to store some important info using bookstack to manage, and would especially be useful if the files are not easily accessible in the event of a crash/whatever. Not sure if this deserves its own FR, so pinging for some thoughts first :)
Author
Owner

@OliverEvans96 commented on GitHub (Feb 25, 2021):

I agree with @alderson59 - I would feel much more comfortable putting important content into bookstack if I know I can easily export it / back it up in a plaintext format

@OliverEvans96 commented on GitHub (Feb 25, 2021): I agree with @alderson59 - I would feel much more comfortable putting important content into bookstack if I know I can easily export it / back it up in a plaintext format
Author
Owner

@jacky35 commented on GitHub (Mar 11, 2021):

+1
Yes I would also be reassured to have flat files.

@jacky35 commented on GitHub (Mar 11, 2021): +1 Yes I would also be reassured to have flat files.
Author
Owner

@alfureu commented on GitHub (May 20, 2021):

I would also welcome to see this as a milestone feature implemented soon. Please please please ☺

@alfureu commented on GitHub (May 20, 2021): I would also welcome to see this as a milestone feature implemented soon. Please please please ☺
Author
Owner

@aptMattKoe commented on GitHub (Aug 27, 2021):

+1
That would be great!

@aptMattKoe commented on GitHub (Aug 27, 2021): +1 That would be great!
Author
Owner

@ssddanbrown commented on GitHub (Aug 28, 2021):

An implementation of markdown export has been merged as part of #2115 therefore I will close this off. This will be included in the next feature release.

@ssddanbrown commented on GitHub (Aug 28, 2021): An implementation of markdown export has been merged as part of #2115 therefore I will close this off. This will be included in the next feature release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1408