eloyesp / jekyll_ghost_importer

Post importer from Ghost backup files.
GNU General Public License v3.0
66 stars 11 forks source link

Add support for simple mobiledoc formatted markdown posts #9

Closed proog closed 6 years ago

proog commented 6 years ago

Ghost 1.0 uses a new format for posts where, instead of just storing the markdown, it stores the markdown as a "card" element in an embedded JSON string. If no text has been entered, the entire mobiledoc structure may be null.

This PR makes it possible to extract these into posts, making it compatible with the current version of Ghost and hopefully closing #8.