Hello,
I have some utility functions for my codemirror 6 plugin and I’d like to export them at the $tw.codemirrorutils namespace
I tried but couldn’t figure out how to do that
Does anybody know the solution?
I guess it must be done in a startup module?
Edit:
The header looks like this:
/*\
title: $:/plugins/BTC/tiddlywiki-codemirror-6/lib/codemirror-utils.js
type: application/javascript
module-type: codemirrorutils
\*/
you can see, the module-type is “codemirrorutils”
Thank you in advance,
Simon