public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Leonard Rosenthol <leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Easy tool for quick conversions?
Date: Thu, 22 Dec 2022 19:19:44 -0500	[thread overview]
Message-ID: <CALu=v3+_5=GYfG7DzfgKgOKOcfRPftwrHpbQd6uZPqiZyfmgDQ@mail.gmail.com> (raw)
In-Reply-To: <3f9886ae-c6f3-3843-d921-058592f28994-Jdbf3xiKgS8@public.gmane.org>

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

I do exactly this with the Alfred workflow tool  -
https://www.alfredapp.com/.

I have a variety of workflows setup for various conversions.  Here's one
for markdown->RTF, for pasting rich text into Office.

pbpaste | pandoc --standalone --from=markdown --to=rtf --output=- | pbcopy


Leonard

On Thu, Dec 22, 2022 at 7:14 PM Daniel Staal <DStaal-Jdbf3xiKgS8@public.gmane.org> wrote:

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

-- 
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/CALu%3Dv3%2B_5%3DGYfG7DzfgKgOKOcfRPftwrHpbQd6uZPqiZyfmgDQ%40mail.gmail.com.

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

  parent reply	other threads:[~2022-12-23  0:19 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 [this message]
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='CALu=v3+_5=GYfG7DzfgKgOKOcfRPftwrHpbQd6uZPqiZyfmgDQ@mail.gmail.com' \
    --to=leonardr-bm6h3k5um15l57midrcfdg@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).