public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Daniel Staal <DStaal-Jdbf3xiKgS8@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Easy tool for quick conversions?
Date: Thu, 22 Dec 2022 19:14:28 -0500	[thread overview]
Message-ID: <3f9886ae-c6f3-3843-d921-058592f28994@usa.net> (raw)
In-Reply-To: <f8025d4d-99d5-dbae-011a-8320fe992cbc-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>

On 12/22/22 5:13 PM, Joseph Reagle wrote:
> I sometimes want to quickly convert one format to another within my 
> clipboard manager. For example, Wikimedia Commons can give you the HTML 
> or BBCode to embed an image, but I prefer markdown.
> For this, I usually go to <https://pandoc.org/try/>, but I don't see 
> support for parameters in its URL. (If it did, I could define some 
> clipboard manager shortcuts to invoke common conversions via the web.)  
> Or I sometimes want to convert from reference links to inline links or 
> the reverse.
> 
> I could write a script, making use of pbcopy/pbpaste, but was wondering 
> what others do for these use cases?
> 
> —Joseph
> 

As a Mac user, I use BBEdit.  Paste in, and then feed to a short script 
that reads the source language from the BBEdit lang.

I have several different scripts in the BBEdit scripts folder that I can 
apply, with different options.

Daniel T. Staal

-- 
---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

-- 
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/3f9886ae-c6f3-3843-d921-058592f28994%40usa.net.


  parent reply	other threads:[~2022-12-23  0:14 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 [this message]
     [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

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=3f9886ae-c6f3-3843-d921-058592f28994@usa.net \
    --to=dstaal-jdbf3xikgs8@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).