Replies: 5 comments 2 replies
-
What's the syntax used in I'm not worried about the block linking syntax itself (it looks reasonable enough to be adopted by others), but for block definition - I wonder if Obsidian is relying on some non-standard syntax here (which would be bad). The 'standard' syntax (at least as far as commonmark is concerned) is to use fenced_divs with an ID, for instance: Cell Injury is ...
:::{#565948}
- Foo
- Bar
:::
More content |
Beta Was this translation helpful? Give feedback.
-
To support link to heading, we first need to choose the rule for generating the heading's identifier. There are several flavors for this.
|
Beta Was this translation helpful? Give feedback.
-
Heading links should work in #268 |
Beta Was this translation helpful? Give feedback.
-
Larger feature: heading-awareness #272 |
Beta Was this translation helpful? Give feedback.
-
Happy New Year! I have made block-level embedding somewhat usable with a Python preprocessing script by simply replacing the block wikilink with the referenced block. See example. Unfortunately, the linkage will be lost since it is done before emanote's processing. The block identifier could appear inline at the end of a block or after a block (code, title, quote etc.). @srid Please let me know if you are interested in me adding this feature to emanote. However, I am very much a newbie to Haskell or JS, and pointers would be much appreciated. |
Beta Was this translation helpful? Give feedback.
-
Hi!
I think linking up headings and blocks would be cool feature as you can directly reference a certain heading of a note rather than the entire note itself. Would be very functional for longer notes.
Additionally, in reference to #11 a small hamburger/dropdown can show the outline of the document, similar to how GitHub does it:
Same-file heading link:
[[#1 Venous Thrombophlebitis]]
Cross-file heading link:
[[4. Immunity#Proteinaceous Antigens]]
Same-file block link:
[[#^79b23f]]
and the presence of^79b23f
in the block linkedCross-file block link:
[[1. Cell Injury#^565948]]
and the presence of^565948
in the block linked inside the original fileFrom Obsidian Docs,
Headings
Blocks
Obsidian's block linking is non-standard and so far only Obsidian seems to support it. Maybe the heading feature can be prioritized over blocks, but both of them can be useful in their own way
Beta Was this translation helpful? Give feedback.
All reactions