hanford / remark-slate

Remark plugin to compile Markdown as a slate 0.50+ compatible object.
155 stars 42 forks source link

fix: updated NodeTypes to fix customization error. #64

Closed Cwittofur closed 2 years ago

Cwittofur commented 2 years ago

The node types were set in a way that caused customization to be challenging. For example, the ol_list was typed as the string literal "ol_list", when using typescript this caused issues with types not matching. Since the defaultNodeTypes is used it will have the default types all set. Setting it as a string will allow others to customize the values.

bojangles-m commented 2 years ago

Hi fellow developers, is this gonna be merged at any point in time? Regards, Bojan

dimaanj commented 8 months ago

It's merged, but not published. Could you make a new release @Cwittofur @hanford?