Validity of package documentation and examples

What if my package doesn’t have an actual Documenter-type documentation, only a README.md? I would like to test the examples of the README.md and ones of the function comments. Is there a way
to do that, without having to copy/paste, which is prone to errors and cannot be scripted? (as nov/2020 it appears there wasn’t one)

(something that did not get clear to me: if I use jldoctest in the README.md file, it will appear properly syntax highlighted in github, I mean, after some of these PRs?).