Closed p-thor closed 1 year ago
A screenshot of the outcome. The left navigation is wrong on the top part of this note
Can you please quote your examples (so that we can see the markdown text) and please describe what you expected, what the actual behavior was?
The left navigation is wrong on the top part of this note
You mean when you are lacking a h3 and so there is no connection from h2 to h4? That's currently not supported, is there are reason you want "wrong markup" to be supported? 😁
It would be very quirky and flaky to attempt to force that into:
The left navigation is wrong on the top part of this note
You mean when you are lacking a h3 and so there is no connection from h2 to h4? That's currently not supported, is there are reason you want "wrong markup" to be supported? grin
Document formatting wise having a lower heading makes more sense and form a document design standpoint it is not a "wrong" thing.
I would have thought that the menu would follow the flow of the document and not some rule set on the formatting.
It is a minor issue so if too hard I can live with it.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Expected behaviour
When adding hash to format the navigation menu if you have ## and below it an item with #### it should just show it as a nested item. the "one on layer three" Should show below Second
first
one on layer two
two on layer two
second
one on layer three
Actual behaviour
"one on layer three" Shows above it on the first navigation item with ###.
Steps to reproduce
bug with nesting
menu wrong nesting
first
one on layer two
two on layer two
second
one on layer three
menu correct nnesting
first
one on layer two
two on layer two
second
this makes it right
one on layer three
Relevant log output in the Log panel
Expand
``` ```Information about the application, settings and environment
Expand
QOwnNotes Debug Information =========================== ## General Info **Current Date**: `vr mrt. 3 10:51:51 2023` **Version**: `23.3.0.1` **Build date**: `Mar 2 2023` **Build number**: `1016` **Platform**: `linux` **Operating System**: `Ubuntu 22.10` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `Launchpad PPA` **Qt Version (build)**: `5.15.6` **Qt Version (runtime)**: `5.15.6` **Portable mode**: `no` **Settings path / key**: `/home/p-thor/.config/PBE/QOwnNotes.conf` **Application database path**: `/home/p-thor/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite` **Application arguments**: `QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `en_US` **Locale (interface)**: `en` **Primary screen resolution**: `2560x1440` **Screen resolution(s)**: `2560x1440, 2560x1440, 2560x1440` **Icon theme**: `breeze-dark-qownnotes` **Notes in current note folder**: `28` **Calendar items**: `37` **Enabled scripts**: `1` ## Server Info **serverUrl**: `https://files.dainathor.com` **appIsValid**: `yes` **notesPathExists**: `yes` **serverVersion**: `25.0.3.2` **appVersion**: *empty* ## Spellchecking **Enabled**: `true` **Selected language**: `en_GB` **Language codes**: `el_GR, en_AU, en_CA, en_GB, en_US, en_ZA, nl, nl_AW, nl_BE, nl_NL, nl_SR` **Language names**: `Ελληνικά (Ελλάδα), Australian English (Australia), Canadian English (Canada), British English (United Kingdom), American English (United States), English (South Africa), Nederlands, Nederlands (Aruba), Nederlands (België), Nederlands (Nederland), Nederlands (Suriname)` **Application dictionaries path**: `/home/p-thor/.local/share/PBE/QOwnNotes/dicts` ## Note folders **currentNoteFolderId**: `2` ### Note folder `default` **id**: `2` **isCurrent**: `yes` **activeTagId**: `-1` **localPath**: `/home/p-thor/Documents` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `no` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/home/p-thor/Documents/notes.sqlite` ### Note folder `nextcloud` **id**: `3` **isCurrent**: `no` **activeTagId**: `-1` **localPath**: `/home/p-thor/Nextcloud/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `no` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/home/p-thor/Nextcloud/Notes/notes.sqlite` ## Cloud connections ### Cloud connection `New connection` **id**: `2` **isCurrent**: `no` **serverUrl**: `https://files.dainathor.com` **username**: `p-thor` **accountId**: *empty* ### Cloud connection `Default` **id**: `1` **isCurrent**: `yes` **serverUrl**: `https://files.dainathor.com` **username**: `p-thor` **accountId**: *empty* ## Enabled scripts ### Script `Wiki Links` **id**: `1` **path**: `/home/p-thor/.local/share/PBE/QOwnNotes/scripts/wiki-links/wiki-links.qml` **variablesJson**: ``` { "wikilinksBackgroundColor": "#FFFF00", "wikilinksForegroundColor": "#ff832b", "wikilinksHideSubfolder": true, "wikilinksLowerCase": true, "wikilinksRemoveSpaces": true, "wikilinksReplaceSpacesSymbol": "-", "wikilinksSanitizeFilename": true } ``` **identifier**: `wiki-links` **version**: `0.0.1` **minAppVersion**: `20.6.0` ## Settings **AboutDialog/geometry** (QByteArray): `