I published a plugin yesterday that allows you to create styled (collapsible) blocks.
However, I have two questions:
In order to have icons for the different block styles I added the MaterialIcons font.
Is there a way to import this font locally?
(I copied it into the styles folder of the plugin and reference it in the less file, see here but that doesn’t work)
Alternatively, I could use the icon font Inkdrop uses? Or does that depend on the theme?
The content in each block is determined by this
|symbol in the beginning of a line. It would be convenient to automatically add a
|when pressing enter while the cursor is inside of a content block. Basically the same behavior when pressing enter in a list (it automatically adds a
-in the new line).
Is that done by codemirror? Do you have any tips/links how I could do that?