lukaswhite/Drupal-Jekyll-Export

Issues exporting sites using Markdown text filter

Closed this issue · 1 comments

Hi!

First off — great module, really hoping to use it to migrate my content from D7 to Jekyll.

That said, I use the Markdown text filter on my site to compose my content, and Markdownify really doesn't seem to like that. It prints it all as one big block without any paragraph tags (Given the filter adds those at runtime).

One option would be to do a query like
select format from filter where name = "filter_markdown"; to get a list of all the text formats using filter_markdown, and then bypass the call to Markdownify::parseString on ln. 154 for any nodes using those. Probably's a 4-line fix, let me know if you want me to write a pull-request.

Hey Andrew

I hadn't really considered it might be used to export from Markdown, but what you've said makes perfect sense - I see you've started the changes, so I'll leave you to it and merge it in when you're ready!