From: Yuchen Pei <id@ypei.org>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: Philip Kaludercic <philipk@posteo.net>,
Jonas Damm <mailing@jonas-damm.de>,
help-gnu-emacs@gnu.org
Subject: Re: Edit Wikipedia Article directly in Emacs?
Date: Fri, 30 Jun 2023 21:02:45 +1000 [thread overview]
Message-ID: <87ttuprz56.fsf@ypei.org> (raw)
In-Reply-To: <CAP_d_8WFOu_Q1LqB+hz0BhV1C1kbhoK8YzyAv_MB21UraKGu3Q@mail.gmail.com> (Yuri Khan's message of "Fri, 30 Jun 2023 15:26:37 +0700")
On Fri 2023-06-30 15:26:37 +0700, Yuri Khan wrote:
> On Fri, 30 Jun 2023 at 11:57, Jean Louis <bugs@gnu.support> wrote:
>
>> * Philip Kaludercic <philipk@posteo.net> [2023-06-28 17:28]:
>> > I am not sure how good of an idea this is, to my recollection Wikipedia
>> > markup is fairly specific and it is not easy to map between different
>> > markup formats without loosing too much information.
>>
>> Just to mention that command line:
>>
>> pandoc -f org -t mediawiki MYFILE.org
>>
>> is to convert Org to Mediawiki format.
>
> The specifics of Mediawiki is that you can have templates that
> effectively extend the markup language, and this is widely used in
> Wikipedia and its sister wikis. A quick experiment shows that Pandoc
> silently drops most template inclusions.
Ya, pandoc is nice, but from my experience it always requires some
filters to work well. And Haskell is about the furthest thing from a
scripting language, it is not as nice to iterate / experiment as elisp.
With tree-sitter, it would be nice if people could agree on the specs of
an intermediate representation for markup languages, so that we can get
a pandoc in emacs, and with the customisability in emacs would be one
step closer to meet OP's requirement.
Best,
Yuchen
--
PGP Key: 47F9 D050 1E11 8879 9040 4941 2126 7E93 EF86 DFD0
<https://ypei.org/assets/ypei-pubkey.txt>
next prev parent reply other threads:[~2023-06-30 11:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-28 13:53 Edit Wikipedia Article directly in Emacs? Jonas Damm
2023-06-28 14:26 ` Philip Kaludercic
2023-06-28 16:43 ` Emanuel Berg
2023-06-30 4:48 ` Jean Louis
2023-06-30 8:26 ` Yuri Khan
2023-06-30 9:24 ` Jonas Damm
2023-06-30 11:02 ` Yuchen Pei [this message]
2023-06-30 10:53 ` Yuchen Pei
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=87ttuprz56.fsf@ypei.org \
--to=id@ypei.org \
--cc=help-gnu-emacs@gnu.org \
--cc=mailing@jonas-damm.de \
--cc=philipk@posteo.net \
--cc=yuri.v.khan@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.