Draft files #4246
Closed
eliasboegel
started this conversation in
Feature Requests
Draft files
#4246
Replies: 2 comments
-
For reference, it's related to #2768 (associated opened issue #2781) and in some apect to #3114 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing in favour of #2781 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Next to quarto, I've used mdbook for some documentation. One thing I found very helpful was the feature they call "draft chapters". Essentially, it allows you to add a mock file to the included file list to have it show up as a grayed out section in the index and TOC. This would primarily be used when you the document is still WIP, but you want to make the intended structure and future added content clear to any readers of the WIP version. I see an application first and foremost for the "book" type.
The mdbook guide features an example: https://rust-lang.github.io/mdBook/format/summary.html
Shows up as:
I would love to have this to block out a full structure of, for example, a book. In mdbook, a draft chapter is added by adding a chapter with name but not file. In Quarto, it seems like no file is not an option. The best way I see to implement this is to introduce some sort of marker in the file front matter that can be used to mark a file as a draft, where the file should be included in the document structure, but any links to the page should be inactive and not clickable and the page should not be rendered. The same also would translate to other publishing formats like PDF - content isn't present except in the TOC. This is a bit in contrast to draft posts, which (to my understanding) are just skipped entirely without inclusion to the index and TOC.
The front matter indicator could look like this (similar to draft posts) :
Beta Was this translation helpful? Give feedback.
All reactions