public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Remove image size attributes in markdown
@ 2018-12-19  3:39 Ricky Wu
       [not found] ` <405515a5-6ead-44fb-9fc8-d87ab85d0abd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Ricky Wu @ 2018-12-19  3:39 UTC (permalink / raw)
  To: pandoc-discuss


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

I want to convert docx to markdown and tried use -link_attributes, but not 
work, is there other way?

pandoc test.docx -f docx -t markdown-simple_tables-multiline_tables-
grid_tables+implicit_figures-link_attributes --atx-headers --wrap=none --toc 
--extract-media="" -o out.md

-- 
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/405515a5-6ead-44fb-9fc8-d87ab85d0abd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Remove image size attributes in markdown
       [not found] ` <405515a5-6ead-44fb-9fc8-d87ab85d0abd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-12-19 16:23   ` John MacFarlane
  2019-04-04 15:14   ` Ricky Wu
  1 sibling, 0 replies; 3+ messages in thread
From: John MacFarlane @ 2018-12-19 16:23 UTC (permalink / raw)
  To: Ricky Wu, pandoc-discuss

What do you mean, it didn't work?

When you have '-link_attributes', it should fall back
to raw HTML to render the link or image, since
otherwise it will lose information.

If you use '-link_attributes-raw_html', then you'll
get a markdown image link without the attributes.

Ricky Wu <rickywu1113-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I want to convert docx to markdown and tried use -link_attributes, but not 
> work, is there other way?
>
> pandoc test.docx -f docx -t markdown-simple_tables-multiline_tables-
> grid_tables+implicit_figures-link_attributes --atx-headers --wrap=none --toc 
> --extract-media="" -o out.md
>
> -- 
> 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/405515a5-6ead-44fb-9fc8-d87ab85d0abd%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


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

* Re: Remove image size attributes in markdown
       [not found] ` <405515a5-6ead-44fb-9fc8-d87ab85d0abd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2018-12-19 16:23   ` John MacFarlane
@ 2019-04-04 15:14   ` Ricky Wu
  1 sibling, 0 replies; 3+ messages in thread
From: Ricky Wu @ 2019-04-04 15:14 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 1855 bytes --]

Yes, that's what I need, thank you so much

On Wed, Dec 19, 2018 at 11:39 AM Ricky Wu <rickywu1113-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> I want to convert docx to markdown and tried use -link_attributes, but not
> work, is there other way?
>
> pandoc test.docx -f docx -t markdown-simple_tables-multiline_tables-
> grid_tables+implicit_figures-link_attributes --atx-headers --wrap=none --toc
> --extract-media="" -o out.md
>
> --
> 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/405515a5-6ead-44fb-9fc8-d87ab85d0abd%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/405515a5-6ead-44fb-9fc8-d87ab85d0abd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
______________________________________
http://richiewu.is-programmer.com
Ricky J. Ng

-- 
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/CADReKA-tDL9Jeo9f_stFEK82OhxCqn43S_RJmD%2B4%2BxU-Y_x2TQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 6987 bytes --]

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

end of thread, other threads:[~2019-04-04 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-19  3:39 Remove image size attributes in markdown Ricky Wu
     [not found] ` <405515a5-6ead-44fb-9fc8-d87ab85d0abd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-12-19 16:23   ` John MacFarlane
2019-04-04 15:14   ` Ricky Wu

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