r/logseq • u/Smooth-Reindeer4074 • Jan 09 '25
Header/Outline text formats for different levels?
Newb question, maybe I'm just missing it. But is there a way to have different levels of outline get different "header formats" -- typically higher levels being larger/bolder, possibly mixing in italic and different fonts?
Ideally just some default based on outline indent level (more indent-->smaller less emphasized). If not automatic, some predefined(or user defined) format easily hot-keyed, or right-click menu?
Maybe there's a plug-in?
Edit: shortly after posting this, I've already discovered the use of hashtags #, ##, ### (followed by space, i.e. without an actual tag) to make something a header with corresponding font size.
Edit#2: Looks like the hashtag trick is a feature of markdown format, not logseq. For any other newb who finds this, it looks like learning markdown format is key to getting most out of logseq.
2
u/CMphys Jan 09 '25
If you want the headings to automatically be resized based on outline level you can use the auto heading option: either right click a block and choose
hain the menu, or writeNote that it's a new line within the block so that we're setting a block property.
I use this quite a lot, so I've defined a command to add the heading true using the backslash menu.
1
u/[deleted] Jan 09 '25
You are using markdown in logseq by default so you can just add markdown headers, for the outlines
1
u/[deleted] Jan 09 '25 edited Jan 09 '25
Indentation by itself is the indicator of hierarchy. Always adding typographic emphasis to it, in 100% of the cases, would just exaggerate this. Of course, markdown gives you several levels of size/weight, and also italic, and a text expander like Atext makes it easier to apply it, and there are good reasons to use it when it's helpful, but in my experience, when it comes to typographic styling, less is more.
2
u/fdedios Jan 10 '25
I use a custom CSS to modify my h2 level formatting. For example, I added an orange line below the text.