* Html tables in markdown to other formats
@ 2020-12-21 15:24 denis.maier-FfwAq0itz3ofv37vnLkPlQ
[not found] ` <e1b0ecd20add48018085dbbb8a499d03-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: denis.maier-FfwAq0itz3ofv37vnLkPlQ @ 2020-12-21 15:24 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Hi,
I've just read this blog post (in German): https://oa-pub.hos.tuhh.de/de/2020/12/20/20.-beiträge-zu-open-source/
Does that mean I can now use html tables in markdown sources and convert t other formats, say jats xml?
Best,
Denis
--
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/e1b0ecd20add48018085dbbb8a499d03%40ub.unibe.ch.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Html tables in markdown to other formats
[not found] ` <e1b0ecd20add48018085dbbb8a499d03-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
@ 2020-12-21 15:55 ` Albert Krewinkel
0 siblings, 0 replies; 2+ messages in thread
From: Albert Krewinkel @ 2020-12-21 15:55 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
denis.maier-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org writes:
> Hi,
> I've just read this blog post (in German): https://oa-pub.hos.tuhh.de/de/2020/12/20/20.-beiträge-zu-open-source/
>
> Does that mean I can now use html tables in markdown sources and
> convert t other formats, say jats xml?
We are currently including the tables marked as raw HTML
```{=html}
<table>...</table>
```
and use a short Lua filter to parse the HTML:
if FORMAT:match 'html' then return {} end
function RawBlock (raw)
if raw.format == 'html' then
return pandoc.read(raw.text, 'html').blocks
end
end
Output formats which currently work best with the enhanced tables:
JATS and HTML; better LaTeX support is in progress.
Cheers,
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
--
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/871rfjqhlt.fsf%40zeitkraut.de.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-21 15:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-21 15:24 Html tables in markdown to other formats denis.maier-FfwAq0itz3ofv37vnLkPlQ
[not found] ` <e1b0ecd20add48018085dbbb8a499d03-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
2020-12-21 15:55 ` Albert Krewinkel
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).