This pull request includes two updates to the app/Entities/Tools/ExportFormatter.php file regarding the markdown export:
Added the missing book description in the bookToMarkdown() method.
Added a check for an empty chapter description, preventing unwanted extra lines (\n\n) between the chapter name and the page content when the description is empty.
Hi,
This pull request includes two updates to the
app/Entities/Tools/ExportFormatter.php
file regarding the markdown export:bookToMarkdown()
method.\n\n
) between the chapter name and the page content when the description is empty.