Open 3y3 opened 1 week ago
Can we move highlight.js
initialization outside of markdown transformation?
To be able load it asynchronously for example
import t from '@diplodoc/transform';
import('highlight.js').then((highlightJsFn) => t(content, {highlight: highlightJsFn}))
Transform has some weak typings, for example in options, that allows any key
That would be great to replace it with generic, to force people correctly type their options
Improve plugins functionality
Reduce package build size
Syntax
sup
by defaultunderline
by defaulttask list
by defaultAPI