Anchors in markdown

For anchors, this is starting to come towards the proposed standard for a generic attribute syntax via {} for example:

 ![altText](myImage.png){#id .myClass width=40 height=50}

So in the case of anchors, it would just be a case of setting the #id tag of an element. E.g.

 []{#id}

 [Optional Anchor Text]{#id}
 
 # Header with anchor # {#id}

 Header with anchor
 =================== {#id}

I modified my first post to fit this development

http://talk.commonmark.org/t/consistent-attribute-syntax/272


We maybe could merge this thread with

http://talk.commonmark.org/t/consistent-attribute-syntax

3 Likes