From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: feature request: easier style attributes Date: Sat, 24 Oct 2015 09:01:46 -0400 Message-ID: References: <87r3kkzdpu.fsf@gmx.us> <87lhaszbx8.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3c6be9e623b0522d954b2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpySC-0005Fj-FO for emacs-orgmode@gnu.org; Sat, 24 Oct 2015 09:01:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpySB-0005vk-8x for emacs-orgmode@gnu.org; Sat, 24 Oct 2015 09:01:48 -0400 Received: from mail-ig0-x22c.google.com ([2607:f8b0:4001:c05::22c]:36005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpySB-0005va-3I for emacs-orgmode@gnu.org; Sat, 24 Oct 2015 09:01:47 -0400 Received: by igdg1 with SMTP id g1so32659867igd.1 for ; Sat, 24 Oct 2015 06:01:46 -0700 (PDT) In-Reply-To: <87lhaszbx8.fsf@gmx.us> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --001a11c3c6be9e623b0522d954b2 Content-Type: text/plain; charset=UTF-8 On Sat, Oct 24, 2015 at 8:30 AM, Rasmus wrote: > Matt Price writes: > > > On Sat, Oct 24, 2015 at 7:51 AM, Rasmus wrote: > > > >> Matt Price 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: > >> > > I guess so. It still seems much "heavier" to me than the pandoc syntax, > > which I find much easier to read and write, > > It's also more explicit. And if you use Emacs for authoring your .org > documents, you can use the C-c C-x p interface for fast insertion. > Yes, that's true and I see the advantages, I just still prefer a shorthand; it's easier to look at and for me at least, less distracting to write. > > You didn't write to the list. > thx. > > -- > The second rule of Fight Club is: You do not talk about Fight Club > --001a11c3c6be9e623b0522d954b2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sat, Oct 24, 2015 at 8:30 AM, Rasmus <rasmus@gmx.us> wr= ote:
Matt Price <moptop99@gmail.com> writes:

> On Sat, Oct 24, 2015 at 7:51 AM, Rasmus <rasmus@gmx.us> wrote:
>
>> Matt Price <moptop99@gmai= l.com> 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-i= dentifiers):
>> >
>> > ----
>> > # 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:
>>
> I guess so. It still seems much "heavier" to me than the pan= doc syntax,
> which I find much easier to read and write,

It's also more explicit.=C2=A0 And if you use Emacs for authorin= g your .org
documents, you can use the C-c C-x p interface for fast insertion.

Yes, that's true and I see the advantages, = I just still prefer a shorthand; it's easier to look at and for me at l= east, less distracting to write. =C2=A0

You didn't write to the list.

thx. =

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

--001a11c3c6be9e623b0522d954b2--