Support inline examples & fix diffrent structure errors

@tormozz48 
can't we put `spin` at the parent level and avoid rewriting with the help of `default` mode?