Open coffeepenbit opened 1 year ago
Yeah! That would be great!
I found a nice workaround:
To do this:
Create a command in config.edn
, e.g.
:commands
[
;; I use orgmode; you can adapt it to markdown as well
["heading-orgmode" ":PROPERTIES:\n:heading: true\n:END:"]
]
shift + enter
for a line break/heading-orgmode
(or whatever you called it in step 1)you can use this plugin: logseq-plugin-smart-typing to automatically add heading:: true
property.
my setting is as follows.
Thus, when you enter @h
at the end of a block, it will add this property automatically.
Note that there is a Shift+Enter
before heading:: true
.
When you right-click on the block to set the header level, there is an option to set it to "auto". This is useful for moving around blocks as they will automatically maintain the proper heading level regardless of where they're located.
Screenshot: