Add new lines when sharing a message

I want to format my text like this while sharing it anywhere when using share component.

i want to format
it in this way
so that it looks good

I don’t want to keep text like this, it looks too boring.

1 Like

So you just want the text to be bold? I don’t get it.

Yoshi

2 Likes

No not bold but I wanted to bring text on new lines :confused:

What do you mean with this? Explain further.

Some apps including most texting apps do not support bold font.

1 Like

Here is a format
Use same text:
For Bold (whats app) use *
For Enter use \n**

Here is a format i want to format\nit in this way\nso what it looks good

Test Apk:
Sharetest.apk (4.8 MB)
Test aia:
Share.aia (1.5 KB)
If it is solution then gave solution mark

4 Likes

Yes, but I think he meant to

And I don’t know what he means with this.

Yes he want enter in text just like he show in format

To make new lines simply add \n between text. Example:

Input:
hi\nthis is cool

Output:
hi
this is cool
2 Likes

Yes that i told him in my post also and i also provide him the apk and aia

1 Like

This would work in an in-app textbox but I don’t understand how you would go about sharing HTML to another app

using share component.

\n works without problems.

2 Likes

Alright, after testing it with a few apps it does seem to be working.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.