* Can I stop Pandoc inlining images in generated HTML?
@ 2014-11-28 10:30 Hamish Cunningham
[not found] ` <97838754-f159-4d61-98d4-d773802f66ee-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Hamish Cunningham @ 2014-11-28 10:30 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1.1: Type: text/plain, Size: 1054 bytes --]
Great project, thanks! I have a question about images in .html output...
I'm writing in Pandoc Markdown and generating HTML via commands like this:
pandoc -S -N --self-contained --toc -t html5 content/communiponics.mkd -o
content/communiponics.html --data-dir=content/images
I notice that images are base64 encoded and included in the .html output
file. I'd prefer to generate "<img src=..." in the html instead.
Is that possible?
Thanks!
Hamish
http://hamish.gate.ac.uk/
--
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/97838754-f159-4d61-98d4-d773802f66ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1630 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can I stop Pandoc inlining images in generated HTML?
[not found] ` <97838754-f159-4d61-98d4-d773802f66ee-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2014-11-28 11:08 ` Wagner Macedo
[not found] ` <CAKGY2Pkg7ywb-8GyEc_X7S034D+aGa+ctDYeh0X-+snFjEw-7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Wagner Macedo @ 2014-11-28 11:08 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]
I think this is the purpose on --self-contained option. You may want to use
--standalone
Em 28/11/2014 07:30, "Hamish Cunningham" <tellhamish-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> escreveu:
> Great project, thanks! I have a question about images in .html output...
>
> I'm writing in Pandoc Markdown and generating HTML via commands like this:
>
> pandoc -S -N --self-contained --toc -t html5 content/communiponics.mkd
> -o content/communiponics.html --data-dir=content/images
>
> I notice that images are base64 encoded and included in the .html output
> file. I'd prefer to generate "<img src=..." in the html instead.
>
> Is that possible?
>
> Thanks!
>
> Hamish
> http://hamish.gate.ac.uk/
>
> --
> 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/97838754-f159-4d61-98d4-d773802f66ee%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/97838754-f159-4d61-98d4-d773802f66ee%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/CAKGY2Pkg7ywb-8GyEc_X7S034D%2BaGa%2BctDYeh0X-%2BsnFjEw-7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 3225 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can I stop Pandoc inlining images in generated HTML?
[not found] ` <CAKGY2Pkg7ywb-8GyEc_X7S034D+aGa+ctDYeh0X-+snFjEw-7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-11-28 12:02 ` Hamish Cunningham
0 siblings, 0 replies; 3+ messages in thread
From: Hamish Cunningham @ 2014-11-28 12:02 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1.1: Type: text/plain, Size: 2188 bytes --]
Brilliant, that did the trick -- thanks Wagner!
h
On Friday, 28 November 2014 11:08:20 UTC, Wagner Macedo wrote:
>
> I think this is the purpose on --self-contained option. You may want to
> use --standalone
> Em 28/11/2014 07:30, "Hamish Cunningham" <tellh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>>
> escreveu:
>
>> Great project, thanks! I have a question about images in .html output...
>>
>> I'm writing in Pandoc Markdown and generating HTML via commands like this:
>>
>> pandoc -S -N --self-contained --toc -t html5 content/communiponics.mkd
>> -o content/communiponics.html --data-dir=content/images
>>
>> I notice that images are base64 encoded and included in the .html output
>> file. I'd prefer to generate "<img src=..." in the html instead.
>>
>> Is that possible?
>>
>> Thanks!
>>
>> Hamish
>> http://hamish.gate.ac.uk/
>>
>> --
>> 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pandoc-discuss/97838754-f159-4d61-98d4-d773802f66ee%40googlegroups.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/97838754-f159-4d61-98d4-d773802f66ee%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/47aff528-74fd-4e87-a0fa-0d3cc011bef3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 4522 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-28 12:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-28 10:30 Can I stop Pandoc inlining images in generated HTML? Hamish Cunningham
[not found] ` <97838754-f159-4d61-98d4-d773802f66ee-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-11-28 11:08 ` Wagner Macedo
[not found] ` <CAKGY2Pkg7ywb-8GyEc_X7S034D+aGa+ctDYeh0X-+snFjEw-7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-28 12:02 ` Hamish Cunningham
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).