Emphasis with `_`

John Gruber gruber at fedora.net
Tue May 31 13:54:41 EDT 2005


David Herren <david at idiomatrix.com> wrote on 05/31/05 at 6:09 am:

> [http://www.domain.com/this_file_name.html](http://www.domain.com/ 
> this_file_name.html)
> 
> The word "file" will appear in italics without the display of the  
> underscores.

Ah-hah, that helps. This effects any version of Markdown, but it's
not a bug at all. It's by design. There's no difference between that
and this:

    [this _and_ that](http://www.domain.com/this_file_name.html)

It has nothing to do with the underscores in the URL -- it has to do
with the underscores in the linked text.

The idea we talked about last week, where underscores would only
serve as emphasis delimiters at word boundaries, would solve this
problem.

-J.G.


More information about the Markdown-Discuss mailing list