6033407266
Previously, links referencing a heading (`[[note#heading]]`) would just link to the file name without including an anchor in the link target. Now, such references will include an appropriate `#anchor` attribute. Note that neither the original Markdown specification, nor the more recent CommonMark standard, specify how anchors should be constructed for a given heading. There are also some differences between the various Markdown rendering implementations. Obsidian-export uses the [slug] crate to generate anchors which should be compatible with most implementations, however your mileage may vary. (For example, GitHub may leave a trailing `-` on anchors when headings end with a smiley. The slug library, and thus obsidian-export, will avoid such dangling dashes). [slug]: https://crates.io/crates/slug
19 lines
490 B
Markdown
19 lines
490 B
Markdown
Link to [pure-markdown-examples](pure-markdown-examples.md) and the same [Pure-Markdown-Examples](pure-markdown-examples.md).
|
|
|
|
Link to [pure markdown examples](pure-markdown-examples.md).
|
|
|
|
Link to [pure-markdown-examples > Heading 1](pure-markdown-examples.md#heading-1).
|
|
|
|
Link to [pure markdown examples](pure-markdown-examples.md#heading-1).
|
|
|
|
Link within backticks: `[[pure-markdown-examples]]`
|
|
|
|
````
|
|
Within a code block:
|
|
[[pure-markdown-examples]]
|
|
````
|
|
|
|
\[\[unclosed link
|
|
|
|
Regular text.
|