public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* inverse smart-quotes
@ 2010-11-15 20:53 Conal Elliott
  0 siblings, 0 replies; only message in thread
From: Conal Elliott @ 2010-11-15 20:53 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

When converting *to* markdown, I'd like to have a way to *invert* the
smart-quotes translation when converting *to* markdown.

For instance, now I can use --smart to introduce smart quotes in HTML:

    bash-3.2$ echo "What's for dinner?" | pandoc --from markdown --to html
--smart --no-wrap && echo
    <p>What’s for dinner?</p>

When I convert back markdown, however, I don't get my dumb quotes back:

    bash-3.2$ echo "What's for dinner?" | pandoc --from markdown --to html
--smart --no-wrap | pandoc --from html --to markdown &&     echo
    What’s for dinner?

Reactions?  - Conal

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-15 20:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-15 20:53 inverse smart-quotes Conal Elliott

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