Support inline examples & fix diffrent structure errors

@tormozz48 
you don't need `function()` here, but it's ok