Quorafind / Outliner.MD

https://outliner.md
161 stars 2 forks source link

[FR] Solving confusing heading hierarchies #40

Open Friedolito opened 4 months ago

Friedolito commented 4 months ago

This is a general issue with embeds in obsmd for me. Maybe outliner can find a solution.

The Problem is, that embedded headings will show up in the rendered embed and confuse the note hierarchy. I think the image shows the problem:

Screenshot -2024-05-22 at 12 05 38@2x

This actually confuses me a lot in my notes and I spend time to figuring out what is going on there.

But I'm not sure what is the best way to deal with this.

The "optimal" way would be to recognize the hierarchy in the embed and adapt it to the target note. But I don't think this is feasable 🤔

An easier option, would be to have different heading styles in embeds as an option. So in my case I could get rid of the colors and it would be clear in the visual structure, that they belong to a different hierarchy.

Maybe someone has also ideas how to deal with this?

Thank you for considering! :)

Quorafind commented 4 months ago

I think I can add a css class to internal embed and then update all style via css. for example:

h3 {
   font-size: //
}

Do you think whether this a good way?

Friedolito commented 4 months ago

I'm not really familiar with css, but this would take all headings with level 3 and change the fontsize? This could be working! :)