Support inline examples & fix diffrent structure errors

@tormozz48 
let's cache `this.ctx` into variable