joplin-rich-markdown icon indicating copy to clipboard operation
joplin-rich-markdown copied to clipboard

Feature request: support the Admonition markdown plugin

Open huyz opened this issue 2 years ago • 3 comments

Would love to see inline rendering of the Admonition markdown extension.

huyz avatar Aug 30 '21 11:08 huyz

Hi @huyz, Thanks for the suggestion. A long term goal of this plugin is to support inline rendering of all elements (tables and katex are a high priority). I don't have a timeline around this feature, but it's something I would also like to see. I do accept pull requests, if you have the capacity.

CalebJohn avatar Sep 22 '21 03:09 CalebJohn

I successfully figured out how to colorize the admonition part in the editor:

However, It conflicts with the 'Align wrapped list items':

image

Any idea how to solve the conflicts?

image

SeptemberHX avatar Jun 05 '22 13:06 SeptemberHX

The indent stuff is handled by a script that injects styles into list elements. I think this script could probably be adjusted to change the style for admonition blocks.

CalebJohn avatar Jun 10 '22 18:06 CalebJohn