developer-wiki icon indicating copy to clipboard operation
developer-wiki copied to clipboard

Ordering of section breaks when too nested

Open anonymous123-code opened this issue 2 years ago • 0 comments

Operating System

Windows (Irrelevant)

Web Browser

Firefox (Irrelevant)

Issue description

This happens because we sectionize all articles in order to wrap it into one big element, and then unwrap all other sections in order to fix some styling issues (https://github.com/QuiltMC/developer-wiki/blob/main/svelte.config.js#L74-L77). This should be a lot more easier if there was a plugin that just wraps everything in one element, but I havent found a working version for that, so we might need to write our own. For now don't nest headings except at the end.

anonymous123-code avatar Oct 07 '23 12:10 anonymous123-code