import {WidgetEditor} from "@site/src/components/social-widget"
Markdown
is a built-in component that enables to render Markdown. To use this feature, simply use the Markdown
component:
Example
“`ts
const text = `
#### Markdown Section
Example of **markdown** *code* with an [url](example.com)
`;
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.