On Oct 30, 2012, at 11:23 AM, Koralatov <[email protected]> wrote:

> On Tue, Oct 30, 2012 at 15:57, Chris Lott wrote:
> 
>> What is the best method to introduce horizontal space in text in a
>> Pandoc document? Preferably something that would work for both HTML and
>> PDF output?
>> I need this for some poetry that has indented lines, ala the 2nd and 3rd
>> lines:
>> hickory dickory dock
>>   the most ran up the clock
>>        the clock struck one
>> the mouse ran down
> 
> The other suggestions are all better than the one I’m about to make, so
> consider yourself forewarned.
> 
> I’m personally do it using code spaces, like so:
> 
> hickory dickory dock  `    `the most ran up the clock  `         `the clock 
> struck one  the mouse ran down  
> The spaces contained inside the code will be printed as they are, and it
> shouldn’t interfere with later Markdown syntax because they’re terminated
> already.  It’s a pretty ugly, low-tech solution though.

If you are controlling the output HTML & PDF, this “won’t” be a problem,
but many stylesheets (such as my own) style such incline `<code>` elements
to have a slightly colored background. It is definitely an ugly solution
in that it does not produce portable or semantic output.

AJH

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to