How can I get URLs to not be rendered from a macro plugin?

Added by Beau Simensen over 10 years ago

I've run into this before and I'm not sure how to resolve it. I'm trying to tinker with some macro plugins and am unable to figure out how to get "URL" values to not be rendered as A links down the line. For example, I was trying to do a plugin for gist so that I could specify gist URL instead... but the URL value is always output with "<a class="external" ..." inline with where I want to use the URL. This generally breaks things if I'm wanting to use the raw URL. How can I avoid this?

Replies (2)

RE: How can I get URLs to not be rendered from a macro plugin? - Added by Beau Simensen over 10 years ago

Anyone?

Best I've been able to tell, it looks like anything that looks like a URL is already parsed and converted to an A tag by the time my macro plugin receives the argument. Is there another way I can tie into the macro stuff to get access to the content before that happens? It is making it difficult to do any sort of macro development with anything that might need a URL as its input.

(1-2/2)