* [Word Docx => Gfm Markdown] How to custom hypertext internals links Ids ? @ 2019-10-01 16:17 Jean SALMON [not found] ` <4688cf30-b3f7-4e82-a4ce-985e7fef6098-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Jean SALMON @ 2019-10-01 16:17 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 945 bytes --] Hi, I have to convert many docx files into gfm markdown. I would like to custom hypertext internals links ids. After conversion, special and accentuated characters are coded in hexadecimal UTF-8. For instance, for the french accentuated character *é*, we have *%C3%A9*. In hypertext reference : <a href="#Sc%C3%A9nario"><span class="underline">Scénario</span></a> How to keep accentuated characters or transform them (slugify) during pandoc conversion please? Thanks for your help. Regards, Jean -- 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/4688cf30-b3f7-4e82-a4ce-985e7fef6098%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 2519 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <4688cf30-b3f7-4e82-a4ce-985e7fef6098-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: [Word Docx => Gfm Markdown] How to custom hypertext internals links Ids ? [not found] ` <4688cf30-b3f7-4e82-a4ce-985e7fef6098-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2019-10-01 17:55 ` John MacFarlane [not found] ` <m2ftkcmju9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: John MacFarlane @ 2019-10-01 17:55 UTC (permalink / raw) To: Jean SALMON, pandoc-discuss This is the proper way to encode text in a URL. Jean SALMON <jean.salmon.orange-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: > Hi, > > I have to convert many docx files into gfm markdown. > > I would like to custom hypertext internals links ids. > > After conversion, special and accentuated characters are coded in > hexadecimal UTF-8. > For instance, for the french accentuated character *é*, we have *%C3%A9*. > > In hypertext reference : > <a href="#Sc%C3%A9nario"><span class="underline">Scénario</span></a> > > How to keep accentuated characters or transform them (slugify) during > pandoc conversion please? > > Thanks for your help. > > Regards, > > Jean > > -- > 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/4688cf30-b3f7-4e82-a4ce-985e7fef6098%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/m2ftkcmju9.fsf%40johnmacfarlane.net. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <m2ftkcmju9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>]
* Re: [Word Docx => Gfm Markdown] How to custom hypertext internals links Ids ? [not found] ` <m2ftkcmju9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> @ 2019-10-02 8:33 ` Jean SALMON 0 siblings, 0 replies; 3+ messages in thread From: Jean SALMON @ 2019-10-02 8:33 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2188 bytes --] Hi John, How are you ? I'm agree with you. This is the proper way to encode text in an URL. Nevertheless, I have other needs. After converting docx in md, I'm also using md-to-pdf and markdown-toc in order to convert files in pdf. All hypertext have to be coded on the same way. If you have an idea, I'm interested! Thanks in advance, Jean PS : I'm watching in live the rugby match between France and USA in Japan World Cup. May the best win ! ;-) Le mardi 1 octobre 2019 19:55:42 UTC+2, John MacFarlane a écrit : > > > This is the proper way to encode text in a URL. > > Jean SALMON <jean.sal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> writes: > > > Hi, > > > > I have to convert many docx files into gfm markdown. > > > > I would like to custom hypertext internals links ids. > > > > After conversion, special and accentuated characters are coded in > > hexadecimal UTF-8. > > For instance, for the french accentuated character *é*, we have > *%C3%A9*. > > > > In hypertext reference : > > <a href="#Sc%C3%A9nario"><span class="underline">Scénario</span></a> > > > > How to keep accentuated characters or transform them (slugify) during > > pandoc conversion please? > > > > Thanks for your help. > > > > Regards, > > > > Jean > > > > -- > > 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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/4688cf30-b3f7-4e82-a4ce-985e7fef6098%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/ef3b5ffa-293e-4d61-b467-35e3f23c499b%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 3771 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-02 8:33 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-10-01 16:17 [Word Docx => Gfm Markdown] How to custom hypertext internals links Ids ? Jean SALMON [not found] ` <4688cf30-b3f7-4e82-a4ce-985e7fef6098-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2019-10-01 17:55 ` John MacFarlane [not found] ` <m2ftkcmju9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> 2019-10-02 8:33 ` Jean SALMON
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).