public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* possible to have superscript in bracketed_span?
@ 2019-09-02 16:44 Joseph Reagle
       [not found] ` <413b56a7-78a4-573a-34d5-055727f8e322-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Joseph Reagle @ 2019-09-02 16:44 UTC (permalink / raw)
  To: pandoc-discuss

e.g., `[^foo^]{.fn}` -> `<p><span class="fn"><sup>foo</sup></span></p>`


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

* Re: possible to have superscript in bracketed_span?
       [not found] ` <413b56a7-78a4-573a-34d5-055727f8e322-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
@ 2019-09-02 17:08   ` Joseph Reagle
  2019-09-02 17:23   ` John MacFarlane
  1 sibling, 0 replies; 7+ messages in thread
From: Joseph Reagle @ 2019-09-02 17:08 UTC (permalink / raw)
  To: pandoc-discuss


I instead get: `<p>[^foo^]{.fn}</p>` .

On 9/2/19 12:44 PM, Joseph Reagle wrote:
> e.g., `[^foo^]{.fn}` -> `<p><span class="fn"><sup>foo</sup></span></p>`
> 


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

* Re: possible to have superscript in bracketed_span?
       [not found] ` <413b56a7-78a4-573a-34d5-055727f8e322-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  2019-09-02 17:08   ` Joseph Reagle
@ 2019-09-02 17:23   ` John MacFarlane
       [not found]     ` <m236hed342.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: John MacFarlane @ 2019-09-02 17:23 UTC (permalink / raw)
  To: Joseph Reagle, pandoc-discuss


Pandoc doesn't like the initial ^ because of a clash with
footnote syntax.  You could use the <span class="fn"> (native
span) notation.

Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes:

> e.g., `[^foo^]{.fn}` -> `<p><span class="fn"><sup>foo</sup></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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/413b56a7-78a4-573a-34d5-055727f8e322%40reagle.org.


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

* Re: possible to have superscript in bracketed_span?
       [not found]     ` <m236hed342.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2019-09-03 13:56       ` Joseph Reagle
       [not found]         ` <1e7433e7-6f07-c8e5-71ea-91aa47daa996-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Joseph Reagle @ 2019-09-03 13:56 UTC (permalink / raw)
  To: pandoc-discuss


On 9/2/19 1:23 PM, John MacFarlane wrote:
> Pandoc doesn't like the initial ^ because of a clash with
> footnote syntax.  You could use the <span class="fn"> (native
> span) notation.

When we use literal HTML, does it translate into output formats other than HTML? (I'm wondering the same about trying to force a page break using HTML notation in markdown.)


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

* Re: possible to have superscript in bracketed_span?
       [not found]         ` <1e7433e7-6f07-c8e5-71ea-91aa47daa996-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
@ 2019-09-03 16:21           ` John MacFarlane
       [not found]             ` <yh480kblw1z6ym.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: John MacFarlane @ 2019-09-03 16:21 UTC (permalink / raw)
  To: Joseph Reagle, pandoc-discuss

Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes:

> On 9/2/19 1:23 PM, John MacFarlane wrote:
>> Pandoc doesn't like the initial ^ because of a clash with
>> footnote syntax.  You could use the <span class="fn"> (native
>> span) notation.
>
> When we use literal HTML, does it translate into output formats other than HTML? (I'm wondering the same about trying to force a page break using HTML notation in markdown.)

It depends on the format. In most cases it will be ignored.


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

* Re: possible to have superscript in bracketed_span?
       [not found]             ` <yh480kblw1z6ym.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2019-09-03 17:23               ` BPJ
       [not found]                 ` <f1caed49-eeff-16d9-d75b-71f5e5527547-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: BPJ @ 2019-09-03 17:23 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On 2019-09-03 18:21, John MacFarlane wrote:
> Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes:
> 
>> On 9/2/19 1:23 PM, John MacFarlane wrote:
>>> Pandoc doesn't like the initial ^ because of a clash with
>>> footnote syntax.  You could use the <span class="fn"> (native
>>> span) notation.
>>
>> When we use literal HTML, does it translate into output formats other than HTML? (I'm wondering the same about trying to force a page break using HTML notation in markdown.)
> 
> It depends on the format. In most cases it will be ignored.
> 

But `<div>` and `<span>` are still special cases in that they are parsed 
into Div and Span elements, or has that changed now that we have the 
Markdownish syntax?


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

* Re: possible to have superscript in bracketed_span?
       [not found]                 ` <f1caed49-eeff-16d9-d75b-71f5e5527547-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2019-09-03 17:45                   ` John MacFarlane
  0 siblings, 0 replies; 7+ messages in thread
From: John MacFarlane @ 2019-09-03 17:45 UTC (permalink / raw)
  To: BPJ, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> On 2019-09-03 18:21, John MacFarlane wrote:
>> Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes:
>> 
>>> On 9/2/19 1:23 PM, John MacFarlane wrote:
>>>> Pandoc doesn't like the initial ^ because of a clash with
>>>> footnote syntax.  You could use the <span class="fn"> (native
>>>> span) notation.
>>>
>>> When we use literal HTML, does it translate into output formats other than HTML? (I'm wondering the same about trying to force a page break using HTML notation in markdown.)
>> 
>> It depends on the format. In most cases it will be ignored.
>> 
>
> But `<div>` and `<span>` are still special cases in that they are parsed 
> into Div and Span elements, or has that changed now that we have the 
> Markdownish syntax?

That hasn't changed.


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

end of thread, other threads:[~2019-09-03 17:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-02 16:44 possible to have superscript in bracketed_span? Joseph Reagle
     [not found] ` <413b56a7-78a4-573a-34d5-055727f8e322-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2019-09-02 17:08   ` Joseph Reagle
2019-09-02 17:23   ` John MacFarlane
     [not found]     ` <m236hed342.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-09-03 13:56       ` Joseph Reagle
     [not found]         ` <1e7433e7-6f07-c8e5-71ea-91aa47daa996-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2019-09-03 16:21           ` John MacFarlane
     [not found]             ` <yh480kblw1z6ym.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-09-03 17:23               ` BPJ
     [not found]                 ` <f1caed49-eeff-16d9-d75b-71f5e5527547-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-09-03 17:45                   ` John MacFarlane

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