public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Hope to increase bracketed_spans function
@ 2017-07-01 10:22 许墨茗
       [not found] ` <e22281a7-e919-4831-bc97-394a2a9ee857-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: 许墨茗 @ 2017-07-01 10:22 UTC (permalink / raw)
  To: pandoc-discuss


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

Hope bracketed_spans  extension can support direct modification of p tags. 
eg:

[Paragraph content]{.class key="value"}

one will get

<p class="class" key="value">Paragraph content</p>

instead of

<p><span class="class" key="value">Paragraph content</span></p>

-- 
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/e22281a7-e919-4831-bc97-394a2a9ee857%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Hope to increase bracketed_spans function
       [not found] ` <e22281a7-e919-4831-bc97-394a2a9ee857-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-07-01 19:20   ` Melroch
  0 siblings, 0 replies; 2+ messages in thread
From: Melroch @ 2017-07-01 19:20 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

If you want to style a paragraph with what's currently available you are
better off wrapping the whole paragraph in a div because then you can use a
CSS child selector:

````
<div id=foo>

Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil
impedit quo minus id quod maxime placeat facere possimus, omnis voluptas
assumenda est, omnis dolor repellendus.

</div>
````

and then in CSS:

````
#foo p { ... }
````

Den 1 jul 2017 12:22 skrev "许墨茗" <momingxu-Re5JQEeQqe8@public.gmane.orgm>:

> Hope bracketed_spans  extension can support direct modification of p tags.
> eg:
>
> [Paragraph content]{.class key="value"}
>
> one will get
>
> <p class="class" key="value">Paragraph content</p>
>
> instead of
>
> <p><span class="class" key="value">Paragraph content</span></p>
>
> --
> 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/e22281a7-e919-4831-bc97-394a2a9ee857%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/e22281a7-e919-4831-bc97-394a2a9ee857%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CADAJKhAUQ234WRnLCpqG5oLJHG9CFHe4Pg23LHDW2ZE-tO6d8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 3663 bytes --]

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

end of thread, other threads:[~2017-07-01 19:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-01 10:22 Hope to increase bracketed_spans function 许墨茗
     [not found] ` <e22281a7-e919-4831-bc97-394a2a9ee857-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-07-01 19:20   ` Melroch

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).