tag:support.fletcherpenney.net,2013-02-12:/discussions/suggestions/154-case-preserving-html-anchorsMultiMarkdown: Discussion 2014-08-05T18:01:53Ztag:support.fletcherpenney.net,2013-02-12:Comment/340307902014-08-05T17:37:32Z2014-08-05T17:37:33ZCase-preserving HTML anchors<div><p>I recognize that there are backwards-compatibility issues here:
any page coded to the current, down-casing behavior would break if
it suddenly stopped. But couldn't there be some syntactic
extension, say</p>
<pre>
<code>### 405 - Method Not Supported [[httpRequestMethodNotSupported]]
...</code>
</pre></div>Jack Repenningtag:support.fletcherpenney.net,2013-02-12:Comment/340307902014-08-05T18:01:53Z2014-08-05T18:01:53ZCase-preserving HTML anchors<div><p>The problem is that people expect Markdown links to case
agnostic, so<br>
that [Foo] and [foo] both work. The change you're requesting
would<br>
break this, so I don't think it makes sense to add it to MMD
itself.</p>
<p>But there's no reason you can't modify your own copy of MMD to
behave<br>
the way you want and <em>not</em> lowercase the id (either when
specifying the<br>
label manually, automatically, or both).</p>
<p>The relevant section of code would be around (for HTML
anyway):</p>
<pre>
<code>} else if (n->children->key == AUTOLABEL) {
temp = label_from_string(n->children->str);</code>
</pre>
<p>Fletcher</p></div>fletcher