Skip to content

Commit

Permalink
Update markdown.md
Browse files Browse the repository at this point in the history
crowdin fix
  • Loading branch information
bucanero committed Jul 14, 2023
1 parent c085ce3 commit 530a073
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/bos/components/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ import {WidgetEditor} from "@site/src/components/social-widget"

### Example

<WidgetEditor id='1' height="200px">
<WidgetEditor id='1' height="120px">

```jsx
const text = "#### Markdown Section\n Example of **markdown** *code* with [a link](example.com)";

return (
<>
<div class="container border border-info pt-3 min-vw-100 text-center">
<Markdown text={text} />
</div>
{["Example **markdown** content", "Some _other_ example"].map((placement) => (
<div class="container border border-info pt-3 min-vw-100 text-center">
<Markdown text={placement} />
</div>
))}
</>
);
```
Expand All @@ -31,7 +31,7 @@ return (
---

## Markdown Editor
<!-- TODO: Create a widget -->
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)

0 comments on commit 530a073

Please sign in to comment.