From a368606c981551c9245725b8e2a3624edfd0ee4b Mon Sep 17 00:00:00 2001 From: Rene Pot Date: Tue, 16 Jan 2024 17:05:35 +0100 Subject: [PATCH] docs: make markdown valid (#1372) --- docs/components/Plugin.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/components/Plugin.md b/docs/components/Plugin.md index e8ea7f52..1b1a243f 100644 --- a/docs/components/Plugin.md +++ b/docs/components/Plugin.md @@ -29,7 +29,7 @@ const MyApp = () => ( ## Basic Usage (Using properties from the parent app) -You must build your plugin with the app-platform. If you have done this, your entry component will be passed the props from the parent app. From the example above, the properties `numberToPass` and `callbackToPass` will be available in the build plugin (when it is rendered with a component). +You must build your plugin with the app-platform. If you have done this, your entry component will be passed the props from the parent app. From the example above, the properties `numberToPass` and `callbackToPass` will be available in the build plugin (when it is rendered with a `` component). ```jsx // your plugin entry point (the plugin itself) @@ -60,8 +60,8 @@ const MyPlugin = (propsFromParent) => { ## Plugin Props (custom props) -You can specify pass any other props on the component and these will be passed down to the plugin (provided it was built with app-platform). When props are updated, they will be passed back down to the plugin. This mimics the behaviour of a normal React component, and hence you should provide stable references as needed to prevent rerendering. +You can specify pass any other props on the `` component and these will be passed down to the plugin (provided it was built with app-platform). When props are updated, they will be passed back down to the plugin. This mimics the behaviour of a normal React component, and hence you should provide stable references as needed to prevent rerendering. ## Extended example -See these links for an extended example of how component can be used within an [app](https://github.com/tomzemp/workingplugin/blob/plugin-wrapper-in-platform/src/App.js) and consumed within the [plugin](https://github.com/tomzemp/workingplugin/blob/plugin-wrapper-in-platform/src/Plugin.js). +See these links for an extended example of how `` component can be used within an [app](https://github.com/tomzemp/workingplugin/blob/plugin-wrapper-in-platform/src/App.js) and consumed within the [plugin](https://github.com/tomzemp/workingplugin/blob/plugin-wrapper-in-platform/src/Plugin.js).