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 2013-01-03 21:18:23

alan_hunt
Member
Registered: 2012-11-28
Posts: 22

Indented Text as Part of Block Copy?

Is it possible to indent part of the block copy using Markdown? Here is a rough example of what I would like to see in the Home page block:

This is the non-indented part of my block copy.

                     This is item one of an indented unordered list
                     This is item two of an indented unordered list
                     This is item three of an indented unordered list

                                               Ideally, this last list item would be further indented...

I have tried a number of things to accomplish this and have not been able to. My guess is that I won't be able to do this using Markdown. If that is the case, what is the simplest way to accomplish this?

Thanks,

Alan Hunt

Offline

#2 2013-01-03 23:23:50

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

Re: Indented Text as Part of Block Copy?

The easiest way is probably to use empty HTML entities:

     This text will be indented by five spaces.

Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2013-01-05 21:13:57

alan_hunt
Member
Registered: 2012-11-28
Posts: 22

Re: Indented Text as Part of Block Copy?

I have a feeling I am just not getting something important when it comes to the markdown. Here is a link to a test site that I created to try the indenting: http://www.alanhuntphotographs.com/test_indent/

As you can see, it only appears as text. Also, I have tried to separate portions of text to different lines and it always seems to be double-spaced. Am I expecting too much of markdown's formatting capabilities? If so I can certainly try another approach.

Alan.

Offline

#4 2013-01-05 23:50:16

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

Re: Indented Text as Part of Block Copy?

Markdown doesn't do indenting. In fact, indenting is a bit of a bitch on the Web in general. You could try rapping your paragraph with style:

<p style="text-indent: 12px;">This paragraph will be indented.</p>

Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2013-01-06 21:39:01

alan_hunt
Member
Registered: 2012-11-28
Posts: 22

Re: Indented Text as Part of Block Copy?

Thanks for the reply. I was afraid indenting might be a bit tough. I have been playing around, and using block quotes, have been able to indent, but I am not sure I like the result. I have uploded two examples - one using block quotes and one using an unordered list, but no indent. I will probably end up going with the list. Here is a link to the test site http://www.alanhuntphotographs.com/test_indent/.

Here is the block text that I used to achieve that:
# Welcome 
## This is our site for sharing some of our favorite images including images of: <br> 
> Family 
> Western North Carolina's mountains, 
> Rural Kansas, 
> Camellias and other flowers, 
 
> and more  .  .  .

# Welcome 
## This is our site for sharing some of our favorite images including images of: <br> 
> - Family 
> - Western North Carolina's mountains, 
> - Rural Kansas, 
> - Camellias and other flowers, 
 
> - and more  .  .  .

Again, thanks. Also, thanks for the latest Publisher update - that is really nice.

Alan.

Offline

Board footer

Powered by FluxBB