From 89f00ae5d3079a115032e643aa720f58ab82fa8c Mon Sep 17 00:00:00 2001 From: david Date: Wed, 21 Dec 2022 14:13:20 -0500 Subject: [PATCH] feat(interface): Support for markdown docs (#83) Co-authored-by: davidxd33 --- docs/ox_lib/Interface/Client/context.md | 6 +++--- docs/ox_lib/Interface/Client/notify.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ox_lib/Interface/Client/context.md b/docs/ox_lib/Interface/Client/context.md index e727c92c..fff65af2 100644 --- a/docs/ox_lib/Interface/Client/context.md +++ b/docs/ox_lib/Interface/Client/context.md @@ -31,7 +31,7 @@ lib.registerContext(context) * id: `string` * Unique menu identifier, will be used to open the menu. * title: `string` - * Title display in the menu. + * Title display in the menu; has markdown support. * menu?: `string` * Menu identifier - if defined there will be a back arrow next to the menu title that will take you to the menu you defined. * canClose: `boolean` @@ -43,7 +43,7 @@ lib.registerContext(context) * options: `table` (`object` or `array`) * item: `key` (`string`) or `table` (`object`) * title?: `string` - * If not using keys then sets the title for the button. + * If not using keys then sets the title for the button; has markdown support. * disabled?: `boolean` * Grays out the button and makes it unclickable. * menu?: `string` @@ -62,7 +62,7 @@ lib.registerContext(context) * arrow?: `boolean` * Shows an arrow on the right side like `menu` does, useful when you are opening a menu from an event. Can be set to false to hide it. * description?: `string` - * Description that will appear under the button title that is defined as a key. + * Description that will appear under the button title that is defined as a key; has markdown support. * image?: `string` * Url to an image that will be displayed in the button's metadata. * metadata?: `string[]` or `object` or `array` diff --git a/docs/ox_lib/Interface/Client/notify.md b/docs/ox_lib/Interface/Client/notify.md index 168cebb4..709b3812 100644 --- a/docs/ox_lib/Interface/Client/notify.md +++ b/docs/ox_lib/Interface/Client/notify.md @@ -33,7 +33,7 @@ lib.notify(data) * title?: `string` * Must provide if there is no description * description?: `string` - * Must provide if there is no title + * Must provide if there is no title; has markdown support. * duration?: `number` * position?: `'top'` or `'top-right'` or `'top-left'` or `'bottom'` or `'bottom-right'` or `'bottom-left'` * Default: `'top-right'`