Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-08-22 10:16:34

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Centering text in Markdown?

Have spent the last day or so intermittently attempting to get text centered in a block description using markdown in the lightroom web module. Best advice I could find in web searches was to add arrows at each end of the text to be centered: ->This is centered<-. The arrows do not produce the desired effect. Does anyone know how or if this can be done in markdown?

Offline

#2 2014-08-22 10:28:38

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Centering text in Markdown?

Use html and center text with css:

<p style="text-align:center;">Your text here</p>

Or to center a heading:

<h2 style="text-align:center;">Your heading here</h2>


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2014-08-22 12:20:10

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Centering text in Markdown?

Or, if multiple elements, shove it in a centering div:

<div style="text-align:center;">

    <p><em>In A.D. 2101 war was beginning.</em></p>
    
    <p><strong>Captain</strong>: What happen ?</p>
    
    <p><strong>Mechanic</strong>: Somebody set up us the bomb.</p>
    
    <p><strong>Captain</strong>: What !</p>

    <p><strong>Operator</strong>: Main screen turn on.</p>

    <p><strong>Captain</strong>: It’s you !!</p>

    <p><strong>CATS</strong>: How are you gentlemen !!</p>

    <p><strong>CATS</strong>: All your base are belong to us.</p>

    <p><strong>CATS</strong>: You are on the way to destruction.</p>

    <p><strong>Captain</strong>: What you say !!</p>

    <p><strong>CATS</strong>: You have no chance to survive make your time.</p>

    <p><strong>CATS</strong>: Ha ha ha ha ...</p>

</div>

Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB