I’m relatively new to Scrivener, but I have been enjoying figuring out ways to use it together with Pandoc. There have been several helpful posts here on the forum.
One suggestion from @nontroppo that seems particularly helpful to use documents with certain section types to handle some complex blocks like certain figures and tables. I understand how it works and how to set it up to compile correctly.
However, I also like to use Scrivenings mode with titles showing while editing and writing. As a result, the document titles for the tables, figures, and subsequent text sections are shown (see the screenshot of the Quarto example project).
It would be help to be able to hide the titles of those documents.
Is it possible to configure a project so that only the titles of specific section types are shown in Scrivenings mode? Currently, I’ve found options to either show all titles or only titles of folders.
I suppose one quick question would be whether you would mind seeing %%|label: fig-mermaid in the binder, and as a way of identifying this item in searches. If so, then erasing the title will allow the first line to become the surrogate title. It pretty much acts as a real title, save for in a few ways:
By default, section layouts that would print the section title won’t print the adaptive title.
In Scrivenings with titles, they will work exactly how you want them to.
There is also a little bit a trick you can use, if that’s maybe too much punctuation for what you’d want to see in the binder, outliner, corkboard—or maybe some of these sections do not have first lines that are so useful (tables come to mind, though maybe there is a table format Pandoc accepts that takes a caption as the first line). In such cases, you can insert an inline annotation at the top and type in your human-friendly title there. This will be removed when compiling, but otherwise serves to populate the title in the interface.
I think this will work well enough for me. I can handle the occasional punctuation in the binder for those sections. This also looks really helpful for resuming the prose/text after the blocks, as the binder now shows the beginning of the resuming paragraph and not just Text.
Ya, definitely! I like leaving the title blank in a number of scenarios, and with Markdown there is often something useful at the top anyway. It gives you some control over how scrivenings looks, but it’s also nice to not have to keep two pieces of data in parity for edits, where that matters.
I also do like letting titles handle important anchors like this too. Having the formal anchor ID in the title means being able to type ‘mermaid’ in the Quick Search tool in the main toolbar, seeing what you need, and knowing to type @fig-mermaid into the text, to make a cross-reference to it from some other area of the draft.