I've written a couple of functions that use the widgets and DOM API to embed git{hub,lab} pull/merge requests and issues inline. However, the more I use them the more inconsistencies in how they are rendered. I have two examples:
1. Rendering strike through text
I have the following line in my page
- [x] Blocked by ${embed.gitlab_pr("XXX", YYY)} and ${embed.gitlab_pr("XXX", YYY)}
Which renders like this
If I keep only one widget in the line, the formatting does not get applied to it. I get it that the widget implies its own style, but
- in this case the style gets applied incorrectly on the screenshot above
- I'd argue that for inline widgets styles should be applied.
2. Rendering text in preview windows
I have a couple of such embeds in titles. However, while rendered technically correct, I think it would be more useful if the embeds were rendered in the ToC
I have not opened issues on this because these yet because I'm unsure if these are issues

