Center Align Text

Found this interesting trick while scrolling along the Discourse Forum. Here’s how to do it:


<div align=center>

Put Text here

</div>
You’ll have something like this.

You can put images in it too, but be advised, hit Enter 2 times every time you would normally hit Enter once. This is if you don’t want to see your fancy bold/italics/large text having no effect, or your absolute best screenshot reduced to a code ending in .jpeg or .jpg or something. But it can all be fixed this way. Here’s the difference:

Hit enter only once per use after the div align...
# _Ooh! Gibberish! Pretty unique for a screenshot!_ ![image|666x500](upload://cgwaN5bSF87dwRENnSKM1EfLzLm.jpeg) Right there, I tried to do italics and enlarge the textbut to no avail. Oh, and that jpeg is supposed to be a nice looking photoshop.
Hit Enter twice per use after the div align...

Ah, Much Better.

(Edit: The Image didn’t appear in the detail slot for some weird reason. See the comments for the demonstration.)

It looks well when you name your masterpiece of a screenshot as you can see. Have fun!

16 Likes

Oh, thank you!

Yeah, I think there are some more hidden possibilities for text editing. I didn’t knew about that one yet.

1 Like

Found this out a while back, it’s really neat for presentation.

3 Likes

Ok. Seems the screenshot didn’t appear in the second detail slot. I’ll demonstrate here.

Title


Here’s a fact: I can hit Enter once below this image, and the text isn’t ruined!

11 Likes

Is it also possible to do ?

EDIT: It’s HTML so it’s not showing up hehe

you can use html coding properties to comment things on discourse?
that’s pretty cool

I’ve been wanting to know how to do this for a while, thanks!
1 Like

This is basic HTML formatting. 😛


This is a sentence.

<div align=right> This is a sentence. </div>


Sometimes I wish the #test category was still around.

4 Likes

Very nice tip, I will use this post if I need to format something like this on one of my posts.

Just used this on my ATC thread. Come fly ;)

This will definitely add to the appeal factor of many new threads!

2 Likes

Let me try this.

Something

EDIT : That’s cool, very helpful! Thanks

1 Like

Me too. Unfortunately, there will always be those people that exploit it. In the past, I was pretty fascinated with formatting, so I did a bunch of research on HTML and Markup (Discourse’s built-in tables are pretty cool too, FYI).

If anyone is looking to improve their posts, formatting is a great place to start. It’s crazy how much of a difference it can make.

11 Likes

@Balloonchaser maybe a new addition to your already legendary heading?

This is actually kinda cool…

Ive already used this on some of my posts. I enjoy it but sometimes it doesnt match ;/

2 Likes

oh yeeeeah

Warm Regards 305


Toasty Regards 305


Hot Regards 305


Cold Regards 305


Warm Regards Misha


Thanks,

Tyler


Greetings,
Lorenzo


MaxSez


DeerCrusher


Dush


No Freinds


Jackbot


JRRAviation


Moritz Babl


Ewan Fleming (Fake Ewan)


IceBlue (Fake Ewan)


8 Likes

This is still one of my favorites

D E E R C R U S H E R

Key Buttons


My all time favorite: 👇🏼👇🏼👇🏼👇🏼

Left Center Right
Formatting is on the left Now in the center Oh, can’t forget the right too!
🌔 🌕 🌖

Table Formatting


Like Henrik said, the built in tables are pretty neat. Just search around on Google, and you’ll find tons of stuff to try out.

8 Likes

Warm Regards 305

Thanks DeerCrusher

3 0 5

1 Like