document resource embedding (closes #44)