* @extends Roo.bootstrap.Component
* Example Element class
* @cfg {String} title short title describing example
- * @cfg {String} lang (php|txt|sql) section type.
+ * @cfg {String} lang (php|txt|sql) code language.
* @cfg {String} code example code
* @cfg {String} output The expected output from the code
+ * @cfg {String} outputlang php|txt|sql) output language
*
*
* @constructor
var cfg ={
tag: 'p',
cls: 'para',
- html : this.html
+ html : Roo.Markdown.toHtml(this.html)
};
if (this.parent().is_list) {
//?? this is the synopsis type....
+ var desc = Roo.Markdown.toHtml(this.desc);
if (this.parent().stype == 'parameter') {
tag: 'code',
html : this.type + ' ' + this.name
},
- this.desc
+ desc
]
}
]
tag: 'code',
html : this.type
},
- this.desc
+ desc
]
};
},
getAutoCreateParamSection : function()
{
+ var desc = Roo.Markdown.toHtml(this.desc);
+
+
return {
tag : 'li',
cn : [
tag: 'code',
html : this.type + ' ' + this.name
},
- this.desc
+ desc
]
}
]