* Odd issue with fenced divs and ToC in 2.8.0.1
@ 2019-12-06 9:50 Philip Hodder
[not found] ` <51852f80-001c-4309-859f-afeb85cad4b8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Philip Hodder @ 2019-12-06 9:50 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1163 bytes --]
Hi
Just noticed an odd issue with the change to (I think) 2.8.0.1. I use
fenced divs a lot, e.g.
::: comment
##### Insightful
Stuff
:::
and I've been using H5 as the heading within a div. This used to give
<div class="comment">
<h5 id="insightful">Insightful</h5>
<p>Stuff</>
</div>
But now I get
<section id="insightful" class="comment">
<h5 >Insightful</h5>
<p>Stuff</>
</section>
So this is a bit different but when outputting to HTML5 it looks the same
which is fine.
*BUT: *the H5's are now appearing in the Table of Contents. I use the
default ToC level of 3 and when I change this to 1 or 2 it behaves as
expected - but with a level of 3 they all get inserted.
Any ideas how I can prevent this?
Thanks!
Phil
--
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/51852f80-001c-4309-859f-afeb85cad4b8%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 5923 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Odd issue with fenced divs and ToC in 2.8.0.1
[not found] ` <51852f80-001c-4309-859f-afeb85cad4b8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-12-07 6:03 ` John MacFarlane
[not found] ` <m2lfrok6zn.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2019-12-07 6:03 UTC (permalink / raw)
To: Philip Hodder, pandoc-discuss
I think this points to a bug. I have isolated it, I
think, and added an issue to our tracker:
https://github.com/jgm/pandoc/issues/5967
Philip Hodder <phil-jvooPmwWovGx7wk7FZxnQA@public.gmane.org> writes:
> Hi
>
> Just noticed an odd issue with the change to (I think) 2.8.0.1. I use
> fenced divs a lot, e.g.
>
>
> ::: comment
> ##### Insightful
>
> Stuff
>
> :::
>
>
> and I've been using H5 as the heading within a div. This used to give
>
> <div class="comment">
> <h5 id="insightful">Insightful</h5>
>
> <p>Stuff</>
> </div>
>
>
> But now I get
>
> <section id="insightful" class="comment">
> <h5 >Insightful</h5>
>
> <p>Stuff</>
> </section>
>
> So this is a bit different but when outputting to HTML5 it looks the same
> which is fine.
>
> *BUT: *the H5's are now appearing in the Table of Contents. I use the
> default ToC level of 3 and when I change this to 1 or 2 it behaves as
> expected - but with a level of 3 they all get inserted.
>
> Any ideas how I can prevent this?
>
> Thanks!
>
> Phil
>
> --
> 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/51852f80-001c-4309-859f-afeb85cad4b8%40googlegroups.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Odd issue with fenced divs and ToC in 2.8.0.1
[not found] ` <m2lfrok6zn.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2019-12-09 9:01 ` Philip Hodder
0 siblings, 0 replies; 3+ messages in thread
From: Philip Hodder @ 2019-12-09 9:01 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 653 bytes --]
Great! Thanks John!
On Saturday, 7 December 2019 06:03:25 UTC, John MacFarlane wrote:
>
>
> I think this points to a bug. I have isolated it, I
> think, and added an issue to our tracker:
>
> https://github.com/jgm/pandoc/issues/5967
>
>
--
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/a323c396-5a2e-4b25-8c0d-3130b87ce181%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1603 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-09 9:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06 9:50 Odd issue with fenced divs and ToC in 2.8.0.1 Philip Hodder
[not found] ` <51852f80-001c-4309-859f-afeb85cad4b8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-12-07 6:03 ` John MacFarlane
[not found] ` <m2lfrok6zn.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-12-09 9:01 ` Philip Hodder
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).