diff --git a/docs/bos/components/markdown.md b/docs/bos/components/markdown.md index e711f27ffdf..e49a7f31622 100644 --- a/docs/bos/components/markdown.md +++ b/docs/bos/components/markdown.md @@ -12,16 +12,16 @@ import {WidgetEditor} from "@site/src/components/social-widget" ### Example - + ```jsx -const text = "#### Markdown Section\n Example of **markdown** *code* with [a link](example.com)"; - return ( <> -
- -
+ {["Example **markdown** content", "Some _other_ example"].map((placement) => ( +
+ +
+ ))} ); ``` @@ -31,7 +31,7 @@ return ( --- ## Markdown Editor - -The user can input static text, as demonstrated above. However, for a more robust experience, checkout this component that also contains a Markdown Editor (accessible at https://near.social/#/mob.near/widget/MarkdownEditorIframeExample). Hit the `View Source` Button to see how this editor was created. + +The user can input static text, as demonstrated above. However, for a more robust experience, checkout this component that also contains a [Markdown Editor](https://near.social/#/mob.near/widget/MarkdownEditorIframeExample). Hit the `View Source` Button to see how this editor was created. ![](https://i.imgur.com/XJO8tEz.png)