# UI-Kit 2 Issues

**URL:** <https://community.developer.atlassian.com/t/ui-kit-2-issues/73714>\
**Category:** Forge UI Kit and Custom UI\
**Tags:** forge-ui, codegeistunleashed\
**Created:** [October 12, 2023, 12:53pm UTC](https://community.developer.atlassian.com/t/ui-kit-2-issues/73714 "2023-10-12T12:53:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdebayoOmolumo](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@AdebayoOmolumo](https://community.developer.atlassian.com/u/AdebayoOmolumo)\
**Post date:** [October 12, 2023, 12:53pm UTC](https://community.developer.atlassian.com/t/ui-kit-2-issues/73714/1 "2023-10-12T12:53:11Z")

</div>

I created a forge-confluence template based on the UI-Kit-2(preview).

I am using this template based on the assumption that I will be able to use basic react component.

I am using the `<h1>Hello!</h1>` in the src\frontend\index.jsx file and I get this error

 ![image](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/a/9/a9eb058cf794fdf9f20c043b93a7b34806349e7d.png)

Any guide on how I can use basic react attributes to make the app work would be appreciated.

---

<div class="post-metadata">

**Author:** ![AdebayoOmolumo](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@AdebayoOmolumo](https://community.developer.atlassian.com/u/AdebayoOmolumo)\
**Post date:** [October 12, 2023, 1:05pm UTC](https://community.developer.atlassian.com/t/ui-kit-2-issues/73714/2 "2023-10-12T13:05:02Z")

</div>

Even better, is there any way I can auto-format markdown text?

I need a way to autoformat retrieved text.

---

<div class="post-metadata">

**Author:** ![AaronCollier](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@AaronCollier](https://community.developer.atlassian.com/u/AaronCollier)\
**Post date:** [October 12, 2023, 1:42pm UTC](https://community.developer.atlassian.com/t/ui-kit-2-issues/73714/3 "2023-10-12T13:42:49Z")

</div>

If you want headings, you should use the [Heading component](https://developer.atlassian.com/platform/forge/ui-kit-2/heading/). I think the UI Kit doesn’t allow arbitrary components.

---

<div class="post-metadata">

**Author:** ![AdebayoOmolumo](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@AdebayoOmolumo](https://community.developer.atlassian.com/u/AdebayoOmolumo)\
**Post date:** [October 12, 2023, 1:48pm UTC](https://community.developer.atlassian.com/t/ui-kit-2-issues/73714/4 "2023-10-12T13:48:19Z")

</div>

Thank you. I am trying to create a dynamic app and I need text retrieved to be autoformatted.

---

<div class="post-metadata">

**Author:** ![AaronCollier](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@AaronCollier](https://community.developer.atlassian.com/u/AaronCollier)\
**Post date:** [October 12, 2023, 2:15pm UTC](https://community.developer.atlassian.com/t/ui-kit-2-issues/73714/5 "2023-10-12T14:15:26Z")

</div>

I think you’ll need to either process the input or use a custom UI.

---

<div class="post-metadata">

**Author:** ![AdebayoOmolumo](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@AdebayoOmolumo](https://community.developer.atlassian.com/u/AdebayoOmolumo)\
**Post date:** [October 12, 2023, 3:09pm UTC](https://community.developer.atlassian.com/t/ui-kit-2-issues/73714/6 "2023-10-12T15:09:54Z")

</div>

Could you go into more details or send some sources links. It will be really appreciated!

---

<div class="post-metadata">

**Author:** ![AdamMoore](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/adammoore/32/44408_2.png) [@AdamMoore](https://community.developer.atlassian.com/u/AdamMoore)\
**Post date:** [October 12, 2023, 10:15pm UTC](https://community.developer.atlassian.com/t/ui-kit-2-issues/73714/7 "2023-10-12T22:15:16Z")

</div>

There’s no way to auto-format markdown using UI Kit and you can’t use HTML either. You can only use the components in UI Kit (like [Heading](https://developer.atlassian.com/platform/forge/ui-kit-2/heading/) as Aaron mentioned).

But if you use Custom UI you can use whatever frontend components you like. See [this guide](https://developer.atlassian.com/platform/forge/build-a-custom-ui-app-in-jira/) for help getting started.

If you like, you can use components from [atlassian.design](https://atlassian.design/) in you Custom UI app.

---

<div class="post-metadata">

**Author:** ![AdebayoOmolumo](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@AdebayoOmolumo](https://community.developer.atlassian.com/u/AdebayoOmolumo)\
**Post date:** [October 13, 2023, 8:09am UTC](https://community.developer.atlassian.com/t/ui-kit-2-issues/73714/8 "2023-10-13T08:09:23Z")

</div>

Thank you. It seems like I will have to find a way to implement the components. I am still a little curious on how other developers where able to implement markdown auto-format since it’s an app in the marketplace.

---

<div class="post-metadata">

**Author:** ![AdamMoore](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/adammoore/32/44408_2.png) [@AdamMoore](https://community.developer.atlassian.com/u/AdamMoore)\
**Post date:** [October 15, 2023, 9:53pm UTC](https://community.developer.atlassian.com/t/ui-kit-2-issues/73714/9 "2023-10-15T21:53:50Z")

</div>

You could write your own code to do it in UI Kit 2

e.g. convert markdown `# Heading level 1` to the matching UI Kit components `<Heading size="large">Heading level 1</Heading>`

Or if you use Custom UI then you could use whatever markdown rendering library you like e.g. [react-markdown - npm](https://www.npmjs.com/package/react-markdown)
