[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] RFC: Proposal for an Org Special Block for ox-html
From: |
Aaron Ecay |
Subject: |
Re: [O] RFC: Proposal for an Org Special Block for ox-html |
Date: |
Thu, 24 May 2018 18:41:58 +0100 |
User-agent: |
Notmuch/0.26 (https://notmuchmail.org) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
Hi Kaushal,
It seems like a good idea. My two comments are:
- Remember that ox-html can export to HTML4, so the code would need to
detect that case and have a sensible fallback
- The approach of looking for “magic” strings in the contents seems
hackish. What if the summary was treated as a caption?
#+caption: Open for details
#+begin_details
Many details here.
#+end_details
(Admittedly, the mismatch between “caption” and “summary” is not ideal,
but caption is the only suitable keyword that the syntax gives us...).
Another idea would be:
#+begin_details
#+summary: Open for details.
Many details here.
#+end_details
This approach would require a supporing change to be made to the
‘org-html-keyword’ function.
Just food for thought...
--
Aaron Ecay
- [O] RFC: Proposal for an Org Special Block for ox-html, Kaushal Modi, 2018/05/24
- Re: [O] RFC: Proposal for an Org Special Block for ox-html,
Aaron Ecay <=
- Re: [O] RFC: Proposal for an Org Special Block for ox-html, Kaushal Modi, 2018/05/24
- Re: [O] RFC: Proposal for an Org Special Block for ox-html, Kaushal Modi, 2018/05/24
- Re: [O] RFC: Proposal for an Org Special Block for ox-html, Aaron Ecay, 2018/05/24
- Re: [O] RFC: Proposal for an Org Special Block for ox-html, Kaushal Modi, 2018/05/24
- Re: [O] RFC: Proposal for an Org Special Block for ox-html, Aaron Ecay, 2018/05/24
- Re: [O] RFC: Proposal for an Org Special Block for ox-html, Kaushal Modi, 2018/05/24
- Re: [O] RFC: Proposal for an Org Special Block for ox-html, Aaron Ecay, 2018/05/25
- Re: [O] RFC: Proposal for an Org Special Block for ox-html, Kaushal Modi, 2018/05/25
- Re: [O] RFC: Proposal for an Org Special Block for ox-html, Kaushal Modi, 2018/05/25
- Re: [O] RFC: Proposal for an Org Special Block for ox-html, Aaron Ecay, 2018/05/27