more generic tree
fix indentation
pack markdown and linked images