Share your code.
Convert tumblr blog entries to prosemirror format
npm install --save tumblr-to-prosemirror
var convert = ;;
Each item in the resulting array passed to the callback contains two keys:
tumblris the raw object returned by the tumblr API
prosemirroris the "body" field of the post parsed to either a ProseMirror node (default) or a JSON structure, if
jsonis set to
truein the options. Note that the
bodyfield is only actually used for text posts, and each post type seems to have it's own field containing the HTML.
tumblr-to-prosemirrorwill try to resolve that field in the following order:
MIT-licensed, see LICENSE