Open diethardsteiner opened 10 years ago
I would advocate something similar, but this will need additional features from Hoedown. I think they already have something going on (hoedown/hoedown#64), but nothing concrete yet.
In any case, the method you mentioned feels a bit too subtile to my liking. Something like Automatic Cross-References might be better—you write
# My heading {my-heading}
in the header, and link to it like
[My heading](#my-heading)
A little more verbose, but less magic going on.
I’ll leave this open as a reference/reminder. Will be on hold until the relevant feature is implemented in Hoedown.
Thanks for your reply! Yes, this is certainly better. I hope Hoedown implements this feature soon.
Would be a real great addition. Hopefully will be implemented in howdown.
Pandoc has this feature. Some consistency across the markdown world would be nice. :-)
@Jmuccigr , I think this is why they invented CommonMark.
I guess we all would like MacDown to support CommonMark.
@RoyiAvital,
Yes, the developer of pandoc is on the common mark team as well. CommonMark isn't finalized yet either, so it's not so simple.
I see... Hopefully they also add features beyond the ones they listed.
I wish they added:
I think the way inline links are currently implemented is way to difficult to write. I don't really want to use HTML for this purpose if there is another way. Maybe you can offer support for existing Markdown extensions that cover that functionality. I am mainly familiar with MultiMarkdown and if you define in example a heading there like this:
You can just link to it using this:
I think that's way easier.