From: Albert Krewinkel <albert+orgmode@zeitkraut.de>
To: emacs-orgmode@gnu.org
Subject: Re: Org <-> Gitlab Wiki
Date: Wed, 08 Apr 2020 11:46:55 +0200 [thread overview]
Message-ID: <878sj6tils.fsf@zeitkraut.de> (raw)
In-Reply-To: <87sgheid89.fsf@luisa.c0t0d0s0.de>
Hi,
Michael Welle writes:
> using ox-gfm to export Org to Gitlab's markup syntax (for the wiki for
> instance) seems to work quite nice. Gitlab's Org parser has some
> shortcomings, so using Org syntax directly in Gitlab often results in
> strangely rendered documents. What I'm interested in is a 'roundtrip
> workflow'. If someone else changes the wiki, is there a way to get that
> changes back and merge it semi-automatically into the Org file? I guess
> I have to check out the wiki repository, get the diff between the two
> markup versions and then apply that manually to the Org file.
Your should be able to take a shortcut here by using pandoc for the
conversion back to org. It might even make sense to use pandoc for the
opposite direction as well, but org-mode exporters are usually better at
that.
See https://pandoc.org and https://pandoc.org/org.html
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
next prev parent reply other threads:[~2020-04-08 9:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-08 8:38 Org <-> Gitlab Wiki Michael Welle
2020-04-08 9:46 ` Albert Krewinkel [this message]
2020-04-08 10:48 ` Michael Welle
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878sj6tils.fsf@zeitkraut.de \
--to=albert+orgmode@zeitkraut.de \
--cc=emacs-orgmode@gnu.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).