public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Markdown writer: emit HTML entities instead of unicode
@ 2018-10-31 16:19 Gareth Stockwell
       [not found] ` <d61bd26b-7257-420f-920f-4f140616e519-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Gareth Stockwell @ 2018-10-31 16:19 UTC (permalink / raw)
  To: pandoc-discuss


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

Is there any way to cause the markdown writer to emit HTML entities such as 
&trade; rather than the unicode equivalent?

To explain what I mean, see the following example

$ echo "&trade;" | pandoc -f markdown -t markdown_strict+raw_html | 
uni2ascii
0x2122
Total input characters                     2
Characters converted to escapes            1
Characters replaced with ASCII             0
Characters deleted                         0

How should I modify the pandoc options, to cause this example to output 
simply "&trade;" ?

See also https://www.w3schools.com/charsets/ref_utf_letterlike.asp

-- 
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/d61bd26b-7257-420f-920f-4f140616e519%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2018-11-02  2:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-31 16:19 Markdown writer: emit HTML entities instead of unicode Gareth Stockwell
     [not found] ` <d61bd26b-7257-420f-920f-4f140616e519-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-10-31 18:57   ` mb21
     [not found]     ` <edf5aeb1-bd71-4f0e-8596-8203c794245d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-10-31 20:37       ` John MacFarlane
     [not found]         ` <yh480k7ehx3la0.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2018-11-01 11:22           ` BP Jonsson
     [not found]             ` <CAFC_yuTO0w+oW9bdszpuP1iq30gUP0Zm0_Y=qyAeDX8WFvDz5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-11-01 18:07               ` John MacFarlane
     [not found]                 ` <yh480kva5gk6xg.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2018-11-01 21:45                   ` Gareth Stockwell
     [not found]                     ` <CAGewFGB0xGnPgdz_ZaQxRZ5Cf=OjMJpUp4dCTiKc+o0=vgO9QA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-11-01 22:34                       ` John MacFarlane
2018-11-01 23:33                   ` John MacFarlane
2018-11-02  0:50               ` MarLinn
     [not found]                 ` <16cbeca9-6954-dab7-3984-6234a32c4708-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-11-02  2:28                   ` 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).