[TxMt] Re: Markdown typing pairs

Jacob Rus jrus at hcs.harvard.edu
Wed Nov 22 20:49:24 UTC 2006


Rob McBroom wrote:
> Why weren't `<` and `>` included as a smartTypingPair for Markdown? Since those are the characters used to surround in-line URLs that should become clickable links, it seems like it should be there so you could just highlight a URL and type `<`. This seems pretty obvious though, so maybe this pair was omitted intentionally for some reason I haven't caught onto?

Sure.  1) For saying things like things like 5 < 6, where I definitely 
don't want an automatic > typed for me, and 2) markdown uses > to denote 
block quotations, and I don't want TM thinking those are part of a 
bracketed pair.

Feel free to change your local preference item that sets this.

> Is it because there are explicitly defined pairs for a more specific scope in this case (`text.html.markdown`)?

Yes.




More information about the textmate mailing list