emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Writing a custom export.
@ 2010-08-13 18:09 Alex
  2010-08-13 18:36 ` Puneeth
  0 siblings, 1 reply; 3+ messages in thread
From: Alex @ 2010-08-13 18:09 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 343 bytes --]

I've been using emacs + org-mode for ~6 months and haven't done any elisp
hacking beyond a custom .emacs file. I would like to write a custom org-mode
export to markdown to play around with elisp and so that I can write readmes
for my github projects in org-mode. Are there any good tutorials on writing
a custom export?

Thanks, Alex Henning

[-- Attachment #1.2: Type: text/html, Size: 380 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Writing a custom export.
  2010-08-13 18:09 Writing a custom export Alex
@ 2010-08-13 18:36 ` Puneeth
  2010-08-13 19:24   ` Eric Abrahamsen
  0 siblings, 1 reply; 3+ messages in thread
From: Puneeth @ 2010-08-13 18:36 UTC (permalink / raw)
  To: Alex; +Cc: emacs-orgmode

Hi Alex,

On Fri, Aug 13, 2010 at 11:39 PM, Alex <elcron@gmail.com> wrote:
> I've been using emacs + org-mode for ~6 months and haven't done any elisp
> hacking beyond a custom .emacs file. I would like to write a custom org-mode
> export to markdown to play around with elisp and so that I can write readmes
> for my github projects in org-mode. Are there any good tutorials on writing
> a custom export?

A couple of things,
1. Github understands org files. README can be written in org mode also.
2. You should look at org-export-generic
[http://orgmode.org/worg/org-contrib/org-export-generic.php] in case
you wish to continue with writing your custom export to markdown.

> Thanks, Alex Henning
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>



-- 
Puneeth

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Writing a custom export.
  2010-08-13 18:36 ` Puneeth
@ 2010-08-13 19:24   ` Eric Abrahamsen
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Abrahamsen @ 2010-08-13 19:24 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, Aug 13 2010, Puneeth wrote:

> Hi Alex,
>
> On Fri, Aug 13, 2010 at 11:39 PM, Alex <elcron@gmail.com> wrote:
>> I've been using emacs + org-mode for ~6 months and haven't done any elisp
>> hacking beyond a custom .emacs file. I would like to write a custom org-mode
>> export to markdown to play around with elisp and so that I can write readmes
>> for my github projects in org-mode. Are there any good tutorials on writing
>> a custom export?
>
> A couple of things,
> 1. Github understands org files. README can be written in org mode also.
> 2. You should look at org-export-generic
> [http://orgmode.org/worg/org-contrib/org-export-generic.php] in case
> you wish to continue with writing your custom export to markdown.
>
Hey, this is great! I didn't know this existed. But to be useful for
Markdown (which I'd also like very much), it would need options for
formatting emph and strong regexs (currently '/' and '*' in org-mode,
would need to be '*' and '**' for Markdown) and also links.

I'm not sure what :body-tags-{prefix,suffix} actually do, but that
sounds promising. Link formatting would need to be added, but it seems
like adding a :body-link-address and :body-link-description would pretty
much take care of it.

If this isn't currently doable without patching org-export-generic.el, I
can take a stab at providing such a patch (unless Alex was hankering for
a weekend project :)).

Eric

>> Thanks, Alex Henning
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-13 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-13 18:09 Writing a custom export Alex
2010-08-13 18:36 ` Puneeth
2010-08-13 19:24   ` Eric Abrahamsen

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