@@ -180,11 +180,13 @@ define(function (require, exports, module) {
180180 * // note that you can even provide an HTML Element node with
181181 * // custom event handlers directly here instead of HTML text.
182182 * let notification1 = NotificationUI.createFromTemplate(
183- * "<div>Click me to locate the file in file tree</div>", "showInfileTree",\{
183+ * ```js
184+ * "<div>Click me to locate the file in file tree</div>", "showInfileTree",{
184185 * allowedPlacements: ['top', 'bottom'],
185186 * dismissOnClick: false,
186187 * autoCloseTimeS: 300 // auto close the popup after 5 minutes
187188 * });
189+ * ```
188190 *
189191 * @param {string|Element } template A string template or HTML Element to use as the dialog HTML.
190192 * @param {String } [elementID] optional id string if provided will show the notification pointing to the element.
@@ -307,11 +309,12 @@ define(function (require, exports, module) {
307309 * // note that you can even provide an HTML Element node with
308310 * // custom event handlers directly here instead of HTML text.
309311 * let notification1 = NotificationUI.createToastFromTemplate( "Title here",
310- * "<div>Click me to locate the file in file tree</div>", \{
312+ * ```js
313+ * "<div>Click me to locate the file in file tree</div>", {
311314 * dismissOnClick: false,
312315 * autoCloseTimeS: 300 // auto close the popup after 5 minutes
313316 * });
314- *
317+ * ```
315318 * @param {string } title The title for the notification.
316319 * @param {string|Element } template A string template or HTML Element to use as the dialog HTML.
317320 * @param {{dismissOnClick, autoCloseTimeS, toastStyle} } [options] optional, supported
0 commit comments