public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Output of divs in Pandoc MD
@ 2018-07-28  8:07 Antoine Hugounet
       [not found] ` <cf7273b2-6b2b-474a-9ac7-9e9d66bfd0b3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Antoine Hugounet @ 2018-07-28  8:07 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 982 bytes --]

Hi,

I'm writing from Pandoc Markdown to HTML using the divs syntax like this :

::: Tags
C++
Memory
:::

The problem is that pandoc outputs this in HTML as :

<div class="Tags">
    <p>C++ Memory</p>
</div>

Is there any way not to have the paragraph nested in the div and to make 
pandoc create as many divs as there are lines? Exemple :

<div class="Tags">C++</div>
<div class="Tags">Memory</div>


Thanks!

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/cf7273b2-6b2b-474a-9ac7-9e9d66bfd0b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2950 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Output of divs in Pandoc MD
       [not found] ` <cf7273b2-6b2b-474a-9ac7-9e9d66bfd0b3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-07-30 12:27   ` mb21
       [not found]     ` <a331bb8e-dd2e-4700-ab6f-f5598ec912ed-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: mb21 @ 2018-07-30 12:27 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1193 bytes --]

Simply use raw HTML. Write exactly what you've written as part of your 
markdown file.

cheers

On Saturday, July 28, 2018 at 10:07:18 AM UTC+2, Antoine Hugounet wrote:
>
> Hi,
>
> I'm writing from Pandoc Markdown to HTML using the divs syntax like this :
>
> ::: Tags
> C++
> Memory
> :::
>
> The problem is that pandoc outputs this in HTML as :
>
> <div class="Tags">
>     <p>C++ Memory</p>
> </div>
>
> Is there any way not to have the paragraph nested in the div and to make 
> pandoc create as many divs as there are lines? Exemple :
>
> <div class="Tags">C++</div>
> <div class="Tags">Memory</div>
>
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a331bb8e-dd2e-4700-ab6f-f5598ec912ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2831 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Output of divs in Pandoc MD
       [not found]     ` <a331bb8e-dd2e-4700-ab6f-f5598ec912ed-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-07-30 12:51       ` Antoine Hugounet
  0 siblings, 0 replies; 3+ messages in thread
From: Antoine Hugounet @ 2018-07-30 12:51 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 73 bytes --]

Thanks! I would like to use Pandoc Markdown as much as possible though. 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-30 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-28  8:07 Output of divs in Pandoc MD Antoine Hugounet
     [not found] ` <cf7273b2-6b2b-474a-9ac7-9e9d66bfd0b3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-07-30 12:27   ` mb21
     [not found]     ` <a331bb8e-dd2e-4700-ab6f-f5598ec912ed-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-07-30 12:51       ` Antoine Hugounet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).