Contentful logo

Contentful Community

Migrate from a long text field (Markdown) to a Rich text field

Hi,

EDIT: Ha ok this is not in your documentation but apparently you’ve made something called @contentful/rich-text-from-markdown but there are still some issues with it.

For example, it seems you have an issue in @contentful/rich-text-from-markdown:


should be:

EDIT2: Could you add me as a contributor or make it public ? I would like to contribute.
That would be so much easier for me :slight_smile: . I am @ababol on github


OLD POST:
I would like to migrate my content from a long text field to a rich text field.

I am following this tutorial here and I am using remark-parse to parse my markdown to a tree but it is not enough. The structure is not the one expected.

Do you have a specific parser for contentful ?