Include shown attribute in source output

Fix #30