[prev in list] [next in list] [prev in thread] [next in thread] 

List:       markdown-discuss
Subject:    Re: Is this possible to do?
From:       Milian Wolff <mail () milianw ! de>
Date:       2007-01-19 22:22:09
Message-ID: 200701192322.09336.mail () milianw ! de
[Download RAW message or body]

Am Freitag, 19. Januar 2007 23:15 schrieb Jan Erik Moström:
> I'm a bit confused if this is possible to do. I would like to
> write some instructional pages using markdown, here is a short
> example of my problem. The text looks like this:
>
> ============================================================
> Risken är dock att du har lite mer komplicerade objekt, tex
> att det är uppbyggt av flera delobjekt:
>
> ![A complex object](images/CloneAdvancedObject.png)
>
> Om du genomför en enkel kopiering liknande den som du gjorde
> ovan så kan du råka ut för något som ser ut ungefär så här:
> ============================================================
>
> resulting in (pretty printed)
>
> ============================================================
> <p>
>      Risken är dock att du har lite mer komplicerade objekt,
>      tex att det är uppbyggt av flera delobjekt:
> </p>
> <p><img src="images/CloneAdvancedObject.png" alt="A complex object"/>
> </p>
> <p>
>      Om du genomför en enkel kopiering liknande den som du
>      gjorde ovan så kan du råka ut för något som ser ut ungefär
>      så här:
> </p>
> ============================================================
>
> My problem is that I want to style paragraphs in certain way but
> I don't want to have this styling for the pictures. Can someone
> give me a hint of how to achieve this (while keeping the
> original source readable)?

You could use one of the markdown implementations which support meta data (as 
I got it, there are some in development, and some are already usable; though 
keep in mind that meta data is not yet officially part of markdown).

The other possibility would be to use html in your text:

<p class="image">![A complex object](images/CloneAdvancedObject.png)</p>

Or something alike.
-- 
Milian Wolff
http://milianw.de

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic