Support inline examples & fix diffrent structure errors

@tormozz48 
i don't like the idea of removing elements this way but ok