The experimental registerFencedCodeRenderer
function accepts a render
param, which can take a react component as an arg. This seems much more flexible and convenient for plugin development than provideUI
+ provideModel
supported by onMacroRendererSlotted
, etc. This is particularly true if you want to use third-party react components (re-com, MUI datatable, etc.), where it’s not feasible to provide static HTML and place all functions in a provideModel
object.
What’s the chance provideUI
could be enhanced to include a render
param as an alternative to template
?