wordpress-export-to-markdown icon indicating copy to clipboard operation
wordpress-export-to-markdown copied to clipboard

Gists from WordPress do not seem to render into the Markdown

Open paschott opened this issue 6 months ago • 0 comments

I've used several Gists as shortcodes or blocks within my Wordpress site. Those don't seem to be rendering when I run the conversion.

Here's my content block:

	<content:encoded><![CDATA[I wanted an easy way to generate a script to recreate all DB object and schema permissions for a database. Searching online, I found several different examples, but none quite did everything I needed. I put this together from some examples and added it to my toolkit. This script will generate the appropriate T-SQL to grant permissions to DB Objects and Schemas.

https://gist.github.com/paschott/e76563c7dee8601856072da8e59caf7f

I know that a lot of you may have something that does this already, but figured it can’t hurt to have another snippet available to generate permission statements. If you make any enhancements, let me know. I’d love to keep this up to date so it’s helpful to others.]]></content:encoded>

But sometimes I was using the "gistr" shortcode to display lines and those were completely ignored, even as a comment.

I also had a code block that was translated, but lost all formatting along the way, including embedded
tags. (Not quite related, but it was on the same post.)

paschott avatar Aug 07 '24 12:08 paschott