public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Wrong syntax highlighting when using HTML codeblock in Markdown
@ 2020-09-14  8:05 Ayaka
       [not found] ` <6a86bd78-eb1a-48e2-9f5e-91228d86a0dfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ayaka @ 2020-09-14  8:05 UTC (permalink / raw)
  To: pandoc-discuss


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


$ cat test.md
---
title: test
---

```html
<p lang="zh-CN">测试:<span lang="en">Test</span></p>
```

$ pandoc -s test.md -o test.html

Result:

[image: Screenshot_20200914_160329-1.png]
The red underlined part is not highlighted, which is wrong.

-- 
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/6a86bd78-eb1a-48e2-9f5e-91228d86a0dfn%40googlegroups.com.

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

[-- Attachment #2: Screenshot_20200914_160329-1.png --]
[-- Type: image/png, Size: 8087 bytes --]

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

* Re: Wrong syntax highlighting when using HTML codeblock in Markdown
       [not found] ` <6a86bd78-eb1a-48e2-9f5e-91228d86a0dfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-09-14 16:30   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2020-09-14 16:30 UTC (permalink / raw)
  To: Ayaka, pandoc-discuss


Looks like a bug in skylighting.  I've added an issue here
https://github.com/jgm/skylighting/issues/110

Ayaka <kyokosakura.moe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> $ cat test.md
> ---
> title: test
> ---
>
> ```html
> <p lang="zh-CN">测试:<测试:<测试:<span lang="en">Test</span></p>
> ```
>
> $ pandoc -s test.md -o test.html
>
> Result:
>
> [image: Screenshot_20200914_160329-1.png]
> The red underlined part is not highlighted, which is wrong.
>
> --
> 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/6a86bd78-eb1a-48e2-9f5e-91228d86a0dfn%40googlegroups.com.

-- 
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/m2ft7knwvz.fsf%40MacBook-Pro.hsd1.ca.comcast.net.


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

end of thread, other threads:[~2020-09-14 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-14  8:05 Wrong syntax highlighting when using HTML codeblock in Markdown Ayaka
     [not found] ` <6a86bd78-eb1a-48e2-9f5e-91228d86a0dfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-14 16:30   ` 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).