public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Easy tool for quick conversions?
Date: Mon, 2 Jan 2023 10:22:32 -0500	[thread overview]
Message-ID: <14fd90c1-73a2-7a1d-8b70-973b3694ff7b@reagle.org> (raw)
In-Reply-To: <ED5D1559-E16A-4A4D-958A-EB1254955E60-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

> Click the "permalink" link on the RH side after conversion, and the URL will change.

Thank you. Ultimately, I'd like to make a bookmark with a query shortcut (i.e., `%s` in Chrome).

The following does work:

```
https://pandoc.org/try/?params={"text":"<b>test</b>","to":"markdown","from":"html","standalone":false,"embed-resources":false,"table-of-contents":false,"number-sections":false,"citeproc":false,"html-math-method":"plain","wrap":"auto","highlight-style":null,"files":{},"template":null}
```

More complicated HTML, such as that given by Wikimedia Commons to embed an image doesn't because of character encoding (especially quotes). Not sure if there's a way around this.

```
<a title="Atanu Bose Photography, CC BY-SA 4.0 &lt;https://creativecommons.org/licenses/by-sa/4.0&gt;, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:Close_wing_position_mud-puddling_and_peeing_activity_of_Papilio_slateri_(Hewitson,1859)_%E2%80%93_Blue-striped_Mime_(Male).jpg"><img width="128" alt="Close wing position mud-puddling and peeing activity of Papilio slateri (Hewitson,1859) – Blue-striped Mime (Male)" src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Close_wing_position_mud-puddling_and_peeing_activity_of_Papilio_slateri_%28Hewitson%2C1859%29_%E2%80%93_Blue-striped_Mime_%28Male%29.jpg/128px-Close_wing_position_mud-puddling_and_peeing_activity_of_Papilio_slateri_%28Hewitson%2C1859%29_%E2%80%93_Blue-striped_Mime_%28Male%29.jpg"></a>
```

-- 
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/14fd90c1-73a2-7a1d-8b70-973b3694ff7b%40reagle.org.


      parent reply	other threads:[~2023-01-02 15:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-22 22:13 Joseph Reagle
     [not found] ` <f8025d4d-99d5-dbae-011a-8320fe992cbc-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2022-12-23  0:14   ` Daniel Staal
     [not found]     ` <3f9886ae-c6f3-3843-d921-058592f28994-Jdbf3xiKgS8@public.gmane.org>
2022-12-23  0:19       ` Leonard Rosenthol
2022-12-23  0:49   ` John MacFarlane
     [not found]     ` <FD5D7595-2616-4561-B0DF-2AF5EF87D311-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-12-23 14:53       ` Joseph Reagle
     [not found]         ` <67584db7-8d64-483f-37be-4497ae1d7dcd-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2022-12-26 22:50           ` John MacFarlane
     [not found]             ` <ED5D1559-E16A-4A4D-958A-EB1254955E60-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-01-02 15:22               ` Joseph Reagle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14fd90c1-73a2-7a1d-8b70-973b3694ff7b@reagle.org \
    --to=joseph.2011-t1oy19wchswdnm+yrofe0a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).