emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Gray <chrismgray@gmail.com>
To: tycho garen <garen@tychoish.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: new ikiwiki export plugin for org
Date: Sat, 03 Dec 2011 22:27:59 -0700	[thread overview]
Message-ID: <877h2c3nz4.fsf@gmail.com> (raw)
In-Reply-To: <20111204045951.GE3199@arendt.tychoish.net>

On Sat, 3 Dec 2011 23:59:51 -0500, tycho garen <garen@tychoish.com> wrote:
> On Fri, Dec 02, 2011 at 10:23:11PM -0700, Chris Gray wrote:
> > I've created a new export plugin for org-mode files for the ikiwiki wiki
> > compiler.  It's in a very preliminary state at
> > https://github.com/chrismgray/ikiwiki-org-plugin
> 
> Oh very nice.
> 
> I saw your questions on the topic in #ikiwiki recently, and I'm very
> interested to follow your progress. How are you handling page directives
> and other parts of the ikiwiki specific markup in org?

Those generally get stripped out before the org files are htmlized.
Also, I am using a mix of markdown and org -- only the posts are in org,
and they don't have any ikiwiki specific markup beyond a tags directive.

> I'm a longtime user of ikiwiki but I'm pretty comfortable with Markdown,
> so I typically don't really feel like I need to make my ikiwiki's use
> non-markdown formats. In the past when I've tried this, my feeling is
> that while ikiwiki *should* be pretty agnostic with regard to markup
> language, it isn't really.
> 
> Which is to say that ikiwiki creates links between pages by inserting
> raw HTML into markdown pages and then hands the page off to the markdown
> interpreter. Which is great, but means that the other processors have to
> handle inline html in the same way as markdown, or links break. You can
> turn off the inter-page linking, but when you do that ikiwiki ends up
> doing very little. I've also not found a way to selectively turn the
> link processing plugin on or off...

Right.  My current thinking is that I'll use the scan and linkify hooks
to do the link processing myself, so that raw html isn't inserted.
Basically, the idea is to transform links into org links and let org do
the transformation to html.  We'll see if it works.

Cheers,
Chris

      reply	other threads:[~2011-12-04  5:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-03  5:23 new ikiwiki export plugin for org Chris Gray
2011-12-04  4:59 ` tycho garen
2011-12-04  5:27   ` Chris Gray [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

  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=877h2c3nz4.fsf@gmail.com \
    --to=chrismgray@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=garen@tychoish.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 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).