@sam.baron: yes, that’s the kind of thing I was looking for, much better, for me anyway, than Roam Highlighter or Markdown Web Clipper. Many thanks for that.
Note: in macOS the pasting in Obs needs to be done from the menu: Edit > Paste and Match Style.
If you have the authority you can close this feature request.