emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] feature request: easier style attributes


From: Rasmus
Subject: Re: [O] feature request: easier style attributes
Date: Sat, 24 Oct 2015 13:51:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Matt Price <address@hidden> writes:

> OK, one more, again a repeat of an old request.
>
> Pandoc Markdown has this incredibly easy way to specify html attributes (
> http://pandoc.org/README.html#header-identifiers):
>
> ----
> # My Header {#myid .class1 .class2}
> ----
>
> I find this much easier to read, write, and maintain than the org-mode
> equivalent:
>
> #+ATTR_HTML: :id myid :class class1 class2
> * My Header

Does this do what you want?

* my header
:PROPERTIES:
:CUSTOM_ID: myid
:HTML_CONTAINER_CLASS: class1 class2
:END:


-- 
The second rule of Fight Club is: You do not talk about Fight Club




reply via email to

[Prev in Thread] Current Thread [Next in Thread]