developer-wiki
developer-wiki copied to clipboard
Ordering of section breaks when too nested
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.