Disabling *some* rendering, I guess
Hi - following a comment exchange on Brett's blog (sorry for asking in the wrong place!) I come bearing my issue with Marked's HTML rendering.
I never quite know how to describe this in a way that doesn't end up getting interpreted by parsers on webpages, and if need be I'm okay with adding screenshots later...
I use MMC with Marked. I updated both yesterday. Before the update(s), I could write using a mix of markdown, HTML and some site-specific markup for dreamwidth.org, and when Marked parsed and rendered the .md file it would return HTML everywhere I wanted it (Md links had become HTML links, etc) but NOT where I didn't want it - ie, my site-specific markup had been left alone, every < I had written in specific tags was still a < and had not become a & l t ; HTML entity. It seemed to me that the MD renderer was "intelligent" enough to know that my < user name=xoxo > tag (sans added spaces) in the md file was already a form of markup that didn't need to be parsed, you know? It was great.
But now this has changed. So I'm looking to see if I can change it back in some way.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 23 Dec, 2011 04:31 PM
I tested with the tag `<user name=xoxoxo>` and it wrapped it in `<p>` tags (see droplr image below) but didn't alter the brackets at all. If that's not happening for you, send me a screenshot of your behavior preferences pane. If you don't want it wrapped in `<p>` tags, let me know and I'll see if there's anything I can do about it.
http://d.pr/If4W
-Brett
2 Posted by anatsuno on 23 Dec, 2011 04:36 PM
Damn, this is exactly the behavior it had before & that I like - and I just tested it and it conformed to it again! So why did it bork my whole huge blog post earlier? I'm going to do more testing.
(and no worries about the wrapping in P tags, that makes sense to me and is not a problem).
Now I feel like I bothered you for nothing. :((
I'll see if I can reproduce the behavior I got earlier... But it seems to be working now. augh, computers. I'm sorry.
3 Posted by anatsuno on 23 Dec, 2011 04:42 PM
oh OH, got it!
look at the image; the first tag, with its incomplete parameter, has the behavior that I was bemoaning, where < becomes an HTML entity.
Otoh the well-formed tags do not; they behave like I want them to. This will teach me to create better TE snippets and not write incomplete tags, I suppose.
And who knows, perhaps it's useful to you to know this? Or else you can feel free to curse my name. :)
4 Posted by anatsuno on 23 Dec, 2011 04:46 PM
Did the image not post? drat.
Support Staff 5 Posted by Brett on 23 Dec, 2011 04:49 PM
So you're good then? I'm closing the ticket, but let me know if you have any further issues. Thanks!