docs: add docs for code elements.