Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Possible to render a Markdown Content with Forge

Gernot Grames June 24, 2021

Hi,

i am developing a plugin with the possibility to load a remote README.md file.

But i can't find a Forge Component to render the Markdown content correctly.

Is it possible to load a 3rd Party react Module to render this?

For example https://github.com/remarkjs/react-markdown

Any ideas

Thanks

1 answer

0 votes
Dugald Morrow
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 24, 2021

Hi @Gernot Grames ,

Forge functions execute in a custom NodeJS runtime which supports most NodeJS libraries. So whilst your Forge app function can include the library and convert markdown to HTML, this is all happening within the function and not the browser. If you need the HTML rendered in a browser, you'll need to use Forge's custom UI capability. https://developer.atlassian.com/platform/forge/custom-ui/

For further questions about Forge, you're better off asking our developer community at https://community.developer.atlassian.com/c/forge/45.

Regards,

Dugald

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events