On Mar 1, 2006, at 1:21 AM, Charilaos Skiadas wrote:
I don't tend to use HTML in Markdown, but I sure would like to see it colored when I do use it. I guess it depends on how one uses Markdown.
I'm beginning to think that I don't want any syntax highlighting in Markdown. I suppose the ideal would be for code blocks to be highlighted according to the language in that block, but not having highlighting doesn't affect me much. Except when taking notes in a programming class, I don't write code directly in Markdown, I paste it into my Markdown documents from the original source files--which are, of course, properly highlighted for the language.
One simple solution to avoiding the indenting behavior is to change the scope of the "Miscellaneous" file in the HTML bundle from "text.html" to "text.html - text.html.markdown". That would tell it to not use whatever that file is offering in the markdown bundle. This should make things work in your local copy. (Don't forget, if you want changes to preferences items to take effect, you have to close the Bundle Editor window) The only "disadvantage" to this is that it makes something in the HTML bundle refer markdown. the HTML bundle doesn't "know" about markdown, and it shouldn't. But if you want a quick fix, that is the simplest way.
I've only been back to using TextMate for a couple of weeks now, and don't feel comfortable mucking around inside it yet. And I've spent too much time undoing "quick fixes" to want to jump in and change TM's behavior before I get a better understanding of how it works and how I work with it. So for now I'll just backspace to get rid of the extra indentation.
Thanks for the explanations.
-- Dr. Drang