Comments (8)
Hm, the used "algorithm" searches for the previews heading that is one level higher, that is ### 1.1.3
in your example, since you skipped the proper ### heading
after ## 2.2
.
from qownnotes.
Hm, the used "algorithm" searches for the previews heading that is one level higher, that is
### 1.1.3
in your example, since you skipped the proper### heading
after## 2.2
.
Yeah, I skipped h3...
Like I said, maybe I use the hierarchy in a 'particular' way, but I thought the algorithm should also consider the typing position in the file.
To explain better, I always start typing subjects using h4 and under it I put
(normal text) to explain in details, if the issue belongs to some group, I add h3, h2 and h1 to organize it, for better understanding and visualization of priorities.
If what I did is considered wrong, I apologize and ask you to close the issue
Sorry for my English
from qownnotes.
If what I did is considered wrong, I apologize and ask you to close the issue
"Wrong" is a harsh word. 😊 It's more like in HTML or Markdown you are not supposed to skip heading level...
The current implementation of finding a suitable parent is:
QOwnNotes/src/widgets/navigationwidget.cpp
Lines 185 to 195 in 3cd56c6
Works great for a valid Markdown heading structure. ️🤷🏻
from qownnotes.
If what I did is considered wrong, I apologize and ask you to close the issue
"Wrong" is a harsh word. 😊 It's more like in HTML or Markdown you are not supposed to skip heading level...
The current implementation of finding a suitable parent is:
Works great for a valid Markdown heading structure. ️🤷🏻
Yeah, like you said, it's not recommended.
I took a quick read at this interesting discussion about this topic:
Heading off confusion
The entire text is interesting, but the comments are gold... No consensus at all if skipping headings should be considered wrong (prohibited) or just 'non-recommended' but acceptable.
Initially, when i opened the ticket I just wanted to show this 'unexpected' behavior to the devs; well, it's done.
If you consider the behavior normal, well, I'll adapt and live with this.
You've been very kind regarding this issue, thank you!
And again, sorry for my broken English
from qownnotes.
You've been very polite too! 🙏🏻
I'm not even sure on how easy it would be to do anything about it and if it would cause problems in different cases...
from qownnotes.
Phew, it's rather hard to find a more suitable parent item if the structure isn't valid...
from qownnotes.
This issue is stale because it has been open for 30 days with no activity.
from qownnotes.
This issue was closed because it has been inactive for 14 days since being marked as stale.
from qownnotes.
Related Issues (20)
- [BUG] Line count font size does not resize with text HOT 9
- [BUG] Slow accessing settings after Nextcloud connection is defined HOT 7
- [FEATURE] Make text highlighting themeable too HOT 8
- [FEATURE] Option to show full file path in statusbar HOT 16
- [BUG] Freezes and "Not responding" when reloading script engine on Windows HOT 16
- [BUG] List Dot on the left side when in RTL mode in the preview window HOT 5
- [FEATURE] Add "AI" support HOT 20
- [BUG] Windows - Opening settings is slow -> Some registry keys are read 72 times HOT 11
- [I] "Move notes to subfolder..." does not stay in folder but jumps to root folder HOT 1
- [BUG] macdeoloyqt not found with jurplel/install-qt-action@v4 HOT 2
- [BUG] xml formatting in markdown HOT 3
- [FEATURE] Shortcut for switching from ltr to trl and dynamic one HOT 1
- [FEATURE][USABILITY] Switching between INS/OVR mode in QOwnNotes HOT 8
- [BUG] Cannot disable dark mode HOT 2
- [FEATURE] provide the option to use a self hosted AI (e.g. ollama) HOT 28
- [ Ctrl + insert ] does not copy selected text HOT 5
- [I] The notes were encrypted by me a few days ago with a password . Today i tried to decrypt them back and they are decrypting into some kind of other encryption HOT 1
- [FEATURE] the inserted images should be visible in the editor as well ( not only int the preview ) HOT 1
- [FEATURE] the preview should reload at changes HOT 1
- [SUPPORT] Newbie's questions HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qownnotes.