Here is my model I'm working with:
Post.add({
title: { type: String, required: true },
slug: { type: String, index: true },
state: { type: Types.Select, options: 'draft, published, archived', default: 'draft', index: true },
author: { type: Types.Relationship, ref: 'User', index: true },
publishedDate: { type: Types.Date, index: true },
image: { type: Types.CloudinaryImage },
content: {
brief: { type: Types.Markdown, wysiwyg: true, height: 150 },
extended: { type: Types.Markdown, wysiwyg: true, height: 400 }
},
categories: { type: Types.Relationship, ref: 'PostCategory', many: true }
});
Here is my input:
## Hello world!
### This is a subtitle!
And this is the output:
I've read through the documentation quite a bit, and looked through the issues on the GitHub repo, but maybe I'm overlooking something entirely that should be obvious?