From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: feature request: easier style attributes Date: Fri, 23 Oct 2015 21:16:08 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fb200171d360522cf7929 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpnRK-0005eW-9i for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 21:16:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpnRJ-0006w0-As for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 21:16:10 -0400 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:33817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpnRJ-0006vw-61 for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 21:16:09 -0400 Received: by iow1 with SMTP id 1so140390583iow.1 for ; Fri, 23 Oct 2015 18:16:08 -0700 (PDT) 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 --001a113fb200171d360522cf7929 Content-Type: text/plain; charset=UTF-8 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 I would love to have something like the pandoc syntax available within org. What do other people think, and how hard would this be to implement? --001a113fb200171d360522cf7929 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
OK, one more, again a r= epeat of an old request.

Pandoc Markdown has this incredibly e= asy way to specify html attributes (http://pandoc.org/README.html#header-identifiers)= :

----
# My Header {#myid .class1 .class2}
----

<= /div>I find this much easier to read, write, and maintain than the org-mode= equivalent:

#+ATTR_HTML: :id myid :class class1 class2
* My Header

I would love to have something like the pandoc = syntax available within org.=C2=A0 What do other people think, and how hard= would this be to implement?



--001a113fb200171d360522cf7929-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: feature request: easier style attributes Date: Sat, 24 Oct 2015 13:51:41 +0200 Message-ID: <87r3kkzdpu.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpxN2-0003cN-K4 for emacs-orgmode@gnu.org; Sat, 24 Oct 2015 07:52:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpxMz-0004qP-F6 for emacs-orgmode@gnu.org; Sat, 24 Oct 2015 07:52:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:60315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpxMz-0004qL-8u for emacs-orgmode@gnu.org; Sat, 24 Oct 2015 07:52:21 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZpxMi-00061c-UZ for emacs-orgmode@gnu.org; Sat, 24 Oct 2015 13:52:05 +0200 Received: from x590e1e01.dyn.telefonica.de ([89.14.30.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 Oct 2015 13:52:04 +0200 Received: from rasmus by x590e1e01.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 Oct 2015 13:52:04 +0200 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: emacs-orgmode@gnu.org 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: -- The second rule of Fight Club is: You do not talk about Fight Club 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--