Adapt snippet into README