[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to change the export semantics of the property-drawer?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] How to change the export semantics of the property-drawer? |
Date: |
Fri, 15 Sep 2017 22:02:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Eduardo Bellani <address@hidden> writes:
> I am trying to export the property-drawer as a description list on an
> html derived backend, but I'm afraid I got stuck after some effort in
> it.
>
> Basically, I wanted this:
>
> ,----
> | * Some
> | :PROPERTIES:
> | :CUSTOM_ID: 123
> | :END:
> `----
>
> To be exported *as if* it was this
>
> ,----
> | * Some
> | - custom_id :: 123
> `----
>
> The problem I am facing is, how to resolve links in properties? The
> example below illustrates the maximum point I've reached in my efforts
>
> If someone can point me to a path, I'll be happy to follow it.
I would use a tree filter that transforms property drawers into
description lists right in the parse tree.
If you know a value is a link, you can use
`org-element-parse-secondary-string' on it.
Regards,
--
Nicolas Goaziou