Skip to content

Additional Heading Questions #58

Answered by daveaglick
Foxtrek64 asked this question in Q&A
Discussion options

You must be logged in to vote

Fantastic question. The ideal long-term solution would be to surface the nesting option as a setting and build it in. I'll look at doing that in the next release.

In the meantime, you could certainly modify the pipeline. That has the advantage of (hopefully) being more compatible as the pipelines continue to evolve (I.e. if you release it wholesale you won't benefit from any future improvements or functionality). On the other hand, this one is tricky since the GatherHeadings module is nested a few modules deep. To modify it would end up looking like:

.ModifyPipeline(
    nameof(Pipelines.Content),
    x => x.ProcessModules
        .GetFirst<CacheDocuments>()
        .Children
        .Rep…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@daveaglick
Comment options

@Foxtrek64
Comment options

Answer selected by Foxtrek64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants