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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Possible to render a Markdown Content with Forge

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

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
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

178 views 6 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you